diff options
-rwxr-xr-x | ezjail-admin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin index c1599e4..f629a73 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -147,7 +147,7 @@ create) | |||
147 | [ $? = 0 ] && echo -e "Warning: Some services already seem to be listening on IP ${newjail_ip}\n This may cause some confusion, here they are:\n${newjail_listener}" | 147 | [ $? = 0 ] && echo -e "Warning: Some services already seem to be listening on IP ${newjail_ip}\n This may cause some confusion, here they are:\n${newjail_listener}" |
148 | 148 | ||
149 | newjail_listener=`sockstat -4 -l | grep \*:[[:digit:]]` | 149 | newjail_listener=`sockstat -4 -l | grep \*:[[:digit:]]` |
150 | [ $? = 0 ] && echo -e "Warning: Some services already seem to be listening on all IP, (including ${newjail_ip})\nThis may cause some confusion, here they are:\n ${newjail_listener}"" | 150 | [ $? = 0 ] && echo -e "Warning: Some services already seem to be listening on all IP, (including ${newjail_ip})\n This may cause some confusion, here they are:\n${newjail_listener}" |
151 | IFS=${TIFS} | 151 | IFS=${TIFS} |
152 | 152 | ||
153 | ;; | 153 | ;; |
@@ -183,7 +183,7 @@ delete) | |||
183 | eval oldjail_rootdir=\"\$jail_${oldjail_nname}_rootdir\" | 183 | eval oldjail_rootdir=\"\$jail_${oldjail_nname}_rootdir\" |
184 | 184 | ||
185 | # if jail is still running, refuse to go any further | 185 | # if jail is still running, refuse to go any further |
186 | [ -f /var/run/jail_${oldjail_nname}.id ] && exerr "Error: Jail appears to be still running, stop it first.\n(/var/run/jail_${oldjail_nname}.id exists)" | 186 | [ -f /var/run/jail_${oldjail_nname}.id ] && exerr "Error: Jail appears to be still running, stop it first.\n(/var/run/jail_${oldjail_nname}.id exists)." |
187 | 187 | ||
188 | # now we know everything we need to let the jail be gone | 188 | # now we know everything we need to let the jail be gone |
189 | # remove entry from ezjail resource structure | 189 | # remove entry from ezjail resource structure |