Display jail name instead of user given string

This commit is contained in:
yo 2023-07-09 13:45:20 +02:00
parent 9e057ed1c5
commit 2ddf51f887

View File

@ -281,7 +281,7 @@ func StopJail(args []string) {
continue continue
} }
fmt.Printf("> Stopping jail %s\n", a) fmt.Printf("> Stopping jail %s\n", cj.Name)
// Get current version to update config.json // Get current version to update config.json
cvers, err := executeCommandInJail(cj, "/bin/freebsd-version") cvers, err := executeCommandInJail(cj, "/bin/freebsd-version")