From 3ecbd167719afcbf9e9fa6e0087abe9cbd2005a9 Mon Sep 17 00:00:00 2001
From: erdgeist <erdgeist@erdgeist.org>
Date: Tue, 27 Nov 2007 21:51:48 +0000
Subject: Conditions checked the wrong way

---
 ezjail-admin | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ezjail-admin b/ezjail-admin
index 4341cf9..f1a5b0c 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -866,7 +866,7 @@ restore)
     ?) exerr ${ezjail_usage_restore};;
   esac; done; shift $(( ${OPTIND} - 1 ))
 
-  [ $# -eq 0 ] || exerr ${ezjail_usage_restore}
+  [ $# -eq 0 ] && exerr ${ezjail_usage_restore}
 
   # Jail name mandatory
   fetchjailinfo $1
-- 
cgit v1.2.3