mirror of
https://github.com/taigrr/systemctl.git
synced 2026-03-09 00:14:38 -07:00
Adds more tests for GetStartTime
This commit is contained in:
@@ -125,6 +125,7 @@ func Show(ctx context.Context, unit string, property properties.Property, opts O
|
||||
}
|
||||
stdout, _, _, err := execute(ctx, args)
|
||||
stdout = strings.TrimPrefix(stdout, string(property)+"=")
|
||||
stdout = strings.TrimSuffix(stdout, "\n")
|
||||
return stdout, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user