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) --- urpmq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpmq') diff --git a/urpmq b/urpmq index eb66e9b4..453f0d9f 100755 --- a/urpmq +++ b/urpmq @@ -101,7 +101,7 @@ usage: ") . N(" -Y - like -y, but forces to match case-insensitively. ") . "\n" . N(" names or rpm files given on command line are queried. "); - exit(0); + exit(1); } sub escape_shell ($) { -- cgit v1.2.1