forked from ungleich-public/cdist
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
|
||||
fi
|
||||
token="$2"
|
||||
if [ $# -ge 2 ]
|
||||
if [ $# -gt 2 ]
|
||||
then
|
||||
archivename="$3"
|
||||
else
|
||||
|
|
|
@ -226,7 +226,7 @@ eof
|
|||
exit 1
|
||||
fi
|
||||
token="$2"
|
||||
if [ $# -ge 2 ]
|
||||
if [ $# -gt 2 ]
|
||||
then
|
||||
archivename="$3"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue