From 82a891cc83fc1dc19c0aefe2b0ad008dc41815c3 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 24 May 2012 14:17:29 +0000 Subject: fix arguments test --- src-rpm-list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-rpm-list') 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" ( -- cgit v1.2.1