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) --- urpmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpmf') diff --git a/urpmf b/urpmf index 6445b9b3..3db657e2 100755 --- a/urpmf +++ b/urpmf @@ -84,7 +84,7 @@ usage: urpmf [options] pattern-expression ") . N(" -m - the media in which the package was found ") . N(" -f - print version, release and arch with name. "); - exit(0); + exit(1); } #- default options. -- cgit v1.2.1