Fix arg num check.

This commit is contained in:
Darko Poljak 2016-07-15 22:33:33 +02:00
parent 12faca578f
commit 0f2cda06b1
2 changed files with 2 additions and 2 deletions

View file

@ -191,7 +191,7 @@ eof
exit 1
fi
token="$2"
if [ $# -ge 2 ]
if [ $# -gt 2 ]
then
archivename="$3"
else

View file

@ -226,7 +226,7 @@ eof
exit 1
fi
token="$2"
if [ $# -ge 2 ]
if [ $# -gt 2 ]
then
archivename="$3"
else