diff --git a/cmd/console.go b/cmd/console.go index a1238f7..6c82e8d 100644 --- a/cmd/console.go +++ b/cmd/console.go @@ -12,7 +12,7 @@ import ( func ShellJail(args []string) error { // We cant shell more than one jail bc we replace gocage execution with jexec, so there wont be no return to gocage if len(args) > 0 { - cj, err := getJailFromArray(args[0], []string{"jail"}, gJails) + cj, err := getJailFromArray(args[0], []string{"basejail", "jail"}, gJails) if err != nil { fmt.Printf("Error getting jail %s: %v\n", args[0], err) return err