Fix arg num check.
This commit is contained in:
parent
12faca578f
commit
0f2cda06b1
2 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ eof
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
token="$2"
|
token="$2"
|
||||||
if [ $# -ge 2 ]
|
if [ $# -gt 2 ]
|
||||||
then
|
then
|
||||||
archivename="$3"
|
archivename="$3"
|
||||||
else
|
else
|
||||||
|
|
|
@ -226,7 +226,7 @@ eof
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
token="$2"
|
token="$2"
|
||||||
if [ $# -ge 2 ]
|
if [ $# -gt 2 ]
|
||||||
then
|
then
|
||||||
archivename="$3"
|
archivename="$3"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue