Stubs out remainder of tests

This commit is contained in:
Tai Groot
2021-05-16 23:08:42 -07:00
parent c7b2246a46
commit 54b77122a5
2 changed files with 27 additions and 3 deletions

View File

@@ -146,7 +146,7 @@ func IsFailed(ctx context.Context, unit string, opts Options) (bool, error) {
// these unit files to /dev/null, making it impossible to start them.
//
// Notably, Mask may return ErrDoesNotExist if a unit doesn't exist, but it will
// ocntinue masking anyway.
// continue masking anyway.
func Mask(ctx context.Context, unit string, opts Options) error {
var args = []string{"mask", "--system", unit}
if opts.UserMode {