aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc-rpm-list2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-rpm-list b/src-rpm-list
index 90f936f..28a5e48 100755
--- a/src-rpm-list
+++ b/src-rpm-list
@@ -10,7 +10,7 @@ function list_srpms()
urpmf --distrib "$dir" --qf '%name' .
}
-exit 1 || [ $# = 1 ]
+[ $# -eq 1 ] || exit 1
srpmsdir="$1"
(