Conditions checked the wrong way

This commit is contained in:
erdgeist 2007-11-27 21:51:48 +00:00
parent 78de4b0846
commit 3ecbd16771

View File

@ -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