summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/isolate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/isolate.go b/util/isolate.go
index 2bdb9d6c..0ea1dff3 100755
--- a/util/isolate.go
+++ b/util/isolate.go
@@ -26,12 +26,12 @@ func ExecuteFromUser(cmd *exec.Cmd, u string) error {
return errors.E(op, err)
}
- usrI32, err := strconv.Atoi(usr.Uid)
+ usrI32, err := strconv.ParseInt(usr.Uid, 10, 32)
if err != nil {
return errors.E(op, err)
}
- grI32, err := strconv.Atoi(usr.Gid)
+ grI32, err := strconv.ParseInt(usr.Gid, 10, 32)
if err != nil {
return errors.E(op, err)
}