Skip to content
Snippets Groups Projects
Commit 2e0cb6a1 authored by Alad Wenter's avatar Alad Wenter
Browse files

aur-sync: use explicit == 0

parent 931b72be
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,7 @@ if (( rotate )); then
fi
fi
if ! (( $# + update + repo_targets )); then
if (( $# + update + repo_targets == 0 )); then
error '%s: no targets specified' "$argv0"
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment