summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2012-01-14 17:02:10 +0000
committererdgeist <erdgeist@erdgeist.org>2012-01-14 17:02:10 +0000
commit6b516a39054040795a2c73d97e2c196e1fb29dbf (patch)
treef2377edd6346d117fc1b9d3f7f748e3b9e7de8e5
parent94364d3fe8678d5e7ba48e501dbe83a0528c54e0 (diff)
ezjail-admin delete -f now not any longer stops all jails but only the one to be deleted. Thanks to Thomas Steen Rasmussen
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 3436ef8..c923506 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -770,7 +770,7 @@ delete)
770 [ "${ezjail_forcestop}" ] || exerr "Error: Jail appears to be still running.\n '${ezjail_admin} stop ${ezjail_name}' it first or use '${ezjail_admin} delete -f ${ezjail_name}' to force stop." 770 [ "${ezjail_forcestop}" ] || exerr "Error: Jail appears to be still running.\n '${ezjail_admin} stop ${ezjail_name}' it first or use '${ezjail_admin} delete -f ${ezjail_name}' to force stop."
771 771
772 # This one will also exerr on failure 772 # This one will also exerr on failure
773 start_stop_jail_by_script onestop 773 start_stop_jail_by_script onestop ${ezjail_name}
774 fi 774 fi
775 775
776 if [ "${ezjail_attached}" ]; then 776 if [ "${ezjail_attached}" ]; then