summaryrefslogtreecommitdiffstats
path: root/rpm-find-leaves
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-22 15:49:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-22 15:49:43 +0000
commite2e4359f40f3a292b92e9b630c7d441e4acf2816 (patch)
tree2f38bba439f98a9dd2f2f3303a0750546b19933e /rpm-find-leaves
parent6d363767f14797f8f68b1c701e835d7e0ac2c6ed (diff)
downloadurpmi-e2e4359f40f3a292b92e9b630c7d441e4acf2816.tar
urpmi-e2e4359f40f3a292b92e9b630c7d441e4acf2816.tar.gz
urpmi-e2e4359f40f3a292b92e9b630c7d441e4acf2816.tar.bz2
urpmi-e2e4359f40f3a292b92e9b630c7d441e4acf2816.tar.xz
urpmi-e2e4359f40f3a292b92e9b630c7d441e4acf2816.zip
- 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)
Diffstat (limited to 'rpm-find-leaves')
-rw-r--r--rpm-find-leaves2
1 files changed, 1 insertions, 1 deletions
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;