aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/jail-update
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/jail-update')
-rwxr-xr-xtrunk/src/jail-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/jail-update b/trunk/src/jail-update
index 7252f94..8cfc49a 100755
--- a/trunk/src/jail-update
+++ b/trunk/src/jail-update
@@ -34,7 +34,7 @@ function usage {
}
-if [ -z "$1" ] || [ "$1" == "--help" ]; then
+if [ -z "$1" ] || [ "$1" == "--help" ] || echo $1 | grep -q -e "^--"; then
usage
exit 1
fi