Cleaning
This commit is contained in:
parent
09b807c78e
commit
853bf5fb10
@ -33,7 +33,6 @@ func shellJail(jail *Jail) error {
|
||||
|
||||
jid := strconv.Itoa(jail.JID)
|
||||
|
||||
//err := syscall.Exec("/usr/sbin/jexec", []string{"jexec", jid, "/bin/csh"}, os.Environ())
|
||||
err := syscall.Exec("/usr/sbin/jexec", []string{"jexec", jid, "login", "-f", "root"}, os.Environ())
|
||||
|
||||
// We should never get here, as syscall.Exec replace the gocage binary execution with jexec
|
||||
|
Loading…
Reference in New Issue
Block a user