summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2007-11-27 21:51:48 +0000
committererdgeist <erdgeist@erdgeist.org>2007-11-27 21:51:48 +0000
commit3ecbd167719afcbf9e9fa6e0087abe9cbd2005a9 (patch)
tree63aa377d9fe0a797e968e507eb47a6ec9b781987
parent78de4b0846b800934b8efcb4f4c6d2a065093a2e (diff)
Conditions checked the wrong way
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 4341cf9..f1a5b0c 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -866,7 +866,7 @@ restore)
866 ?) exerr ${ezjail_usage_restore};; 866 ?) exerr ${ezjail_usage_restore};;
867 esac; done; shift $(( ${OPTIND} - 1 )) 867 esac; done; shift $(( ${OPTIND} - 1 ))
868 868
869 [ $# -eq 0 ] || exerr ${ezjail_usage_restore} 869 [ $# -eq 0 ] && exerr ${ezjail_usage_restore}
870 870
871 # Jail name mandatory 871 # Jail name mandatory
872 fetchjailinfo $1 872 fetchjailinfo $1