mirror of
https://github.com/taigrr/systemctl.git
synced 2025-10-05 16:26:58 +08:00
Finish tests for helper methods
This commit is contained in:
@@ -23,4 +23,6 @@ var (
|
||||
ErrUnitNotRunning = errors.New("Unit isn't running")
|
||||
// ErrBusFailure means $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR were not defined
|
||||
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")
|
||||
)
|
||||
|
Reference in New Issue
Block a user