mirror of
https://github.com/taigrr/systemctl.git
synced 2025-10-05 16:26:58 +08:00
Add masked unit tests for enable and disable
This commit is contained in:
@@ -25,4 +25,6 @@ var (
|
||||
ErrBusFailure = errors.New("Failure to connect to bus, did you run in usermode as root?")
|
||||
// ErrValueNotSet means an expected value is unavailable, but the unit may be running
|
||||
ErrValueNotSet = errors.New("Value not set or unavailable")
|
||||
// ErrMasked means a unit cannot be enabled because it is masked
|
||||
ErrMasked = errors.New("Unit is masked")
|
||||
)
|
||||
|
Reference in New Issue
Block a user