summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcryx <cryx@h3q.com>2009-12-29 12:16:09 +0000
committercryx <cryx@h3q.com>2009-12-29 12:16:09 +0000
commit3d3343d6a221d7c7770bb8c53afa1c51165c2af3 (patch)
treefed687b6bf76201a851fe9dbaa7bc21e5c1452d7
parent7fd24086946f90347adc59a61beec621b555bdd7 (diff)
wrong checking for the fib being an integer
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index b0fb6f8..77fe9d6 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -1355,7 +1355,7 @@ config)
1355 if [ "${ezjail_new_fib}" ]; then 1355 if [ "${ezjail_new_fib}" ]; then
1356 # if jail is still running, refuse to go any further 1356 # if jail is still running, refuse to go any further
1357 [ "${ezjail_id}" ] && exerr "Error: Jail appears to be still running.\n '${ezjail_admin} stop ${ezjail_name}' it first ." 1357 [ "${ezjail_id}" ] && exerr "Error: Jail appears to be still running.\n '${ezjail_admin} stop ${ezjail_name}' it first ."
1358 [ "${ezjail_new_fib}" -ge "0" ] && exerr "Error: fib number has to be an integer." 1358 [ "${ezjail_new_fib}" -ge "0" ] || exerr "Error: fib number has to be an integer."
1359 1359
1360 # write new config file, preserve comments 1360 # write new config file, preserve comments
1361 ( 1361 (