aboutsummaryrefslogtreecommitdiff
path: root/util/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/errors.go')
-rw-r--r--util/errors.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/errors.go b/util/errors.go
index fada687..f0b9403 100644
--- a/util/errors.go
+++ b/util/errors.go
@@ -29,6 +29,8 @@ import (
)
var (
+ // ErrNotRoot indicates the action is restricted to the superuser.
+ ErrNotRoot = errors.New("only root can perform this action")
// ErrSkipIntegration indicates integration tests shouldn't be run.
ErrSkipIntegration = errors.New("skipping integration test")
)