Fix arg num check.

4.2
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