xbps: fix argc handling.
--HG-- extra : convert_revision : f623bdaf61b0d86c8d2eaa2105f9836601b7e93d
This commit is contained in:
parent
5e64daeed6
commit
83e4088313
1 changed files with 1 additions and 1 deletions
2
xbps.sh
2
xbps.sh
|
@ -1402,7 +1402,7 @@ while getopts "Cc:" opt; do
|
|||
done
|
||||
shift $(($OPTIND - 1))
|
||||
|
||||
[ $# -eq 0 -o $# -gt 4 ] && usage
|
||||
[ $# -eq 0 -o $# -gt 2 ] && usage
|
||||
|
||||
target="$1"
|
||||
if [ -z "$target" ]; then
|
||||
|
|
Loading…
Reference in a new issue