From e2e4359f40f3a292b92e9b630c7d441e4acf2816 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 22 Nov 2007 15:49:43 +0000 Subject: - all tools: o exit with code 1 after displaying usage (instead of exit code 0) (urpmi exit code "1" is correctly documented in urpmi's manpage) --- rpm-find-leaves | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpm-find-leaves') diff --git a/rpm-find-leaves b/rpm-find-leaves index 83e48056..f41c0a26 100644 --- a/rpm-find-leaves +++ b/rpm-find-leaves @@ -35,7 +35,7 @@ while ($_ = shift) { next; }; $_ eq '-f' and do { $options{fullname} = 1; next }; - print $usage; exit 0; + print $usage; exit 1; } my @packages; -- cgit v1.2.1