diff options
author | Valery Piashchynski <[email protected]> | 2021-01-19 16:47:15 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-19 16:47:15 +0300 |
commit | 26f9d35e18ef79d79a5609c6c68f1b6ad38c7aed (patch) | |
tree | dd6224660ffd0dcefe2332807203ee1eaf6697b4 /utils | |
parent | 75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (diff) |
Uniform all errors operations
Add new ExecTTL event
Update tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/isolate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/isolate.go b/utils/isolate.go index b797a999..b05f4b3a 100755 --- a/utils/isolate.go +++ b/utils/isolate.go @@ -20,7 +20,7 @@ func IsolateProcess(cmd *exec.Cmd) { // ExecuteFromUser may work only if run RR under root user func ExecuteFromUser(cmd *exec.Cmd, u string) error { - const op = errors.Op("execute from user") + const op = errors.Op("execute_from_user") usr, err := user.Lookup(u) if err != nil { return errors.E(op, err) |