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) --- urpmi.removemedia | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpmi.removemedia') diff --git a/urpmi.removemedia b/urpmi.removemedia index b60c1f55..88e9a823 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -45,7 +45,7 @@ where is a medium name to remove. ") . N(" -v - verbose mode. ") . N(" --urpmi-root - use another root for urpmi db & rpm installation. ") . $msg; - exit 0; + exit 1; } -- cgit v1.2.1