mirror of
https://github.com/taigrr/systemctl.git
synced 2025-10-07 01:03:52 +08:00
Make IsEnabled match the documentation
This commit is contained in:
@@ -16,6 +16,8 @@ var (
|
||||
// Running as superuser or adding the correct PolicyKit definitions can fix this
|
||||
// See https://wiki.debian.org/PolicyKit for more information
|
||||
ErrInsufficientPermissions = errors.New("insufficient permissions")
|
||||
// Selected unit file resides outside of the unit file search path
|
||||
ErrLinked = errors.New("unit file linked")
|
||||
// Masked units can only be unmasked, but something else was attempted
|
||||
// Unmask the unit before enabling or disabling it
|
||||
ErrMasked = errors.New("unit masked")
|
||||
|
Reference in New Issue
Block a user