diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-11-22 15:49:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-11-22 15:49:43 +0000 |
commit | e2e4359f40f3a292b92e9b630c7d441e4acf2816 (patch) | |
tree | 2f38bba439f98a9dd2f2f3303a0750546b19933e /urpmi.update | |
parent | 6d363767f14797f8f68b1c701e835d7e0ac2c6ed (diff) | |
download | urpmi-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 'urpmi.update')
-rwxr-xr-x | urpmi.update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.update b/urpmi.update index 8b72aaee..9d6357e2 100755 --- a/urpmi.update +++ b/urpmi.update @@ -52,7 +52,7 @@ where <name> is a medium name to update. ") . N(" -q - quiet mode. ") . N(" -v - verbose mode. "); - exit 0; + exit 1; } $ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"; |