automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --help and --version should exit with nonzero status on write failur


From: Paul Eggert
Subject: Re: --help and --version should exit with nonzero status on write failures
Date: Wed, 02 Feb 2005 17:09:59 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Alexandre Duret-Lutz <address@hidden> writes:

> Bummer, just discovered a few more...

Thanks for catching those.  After a more-exhaustive search of my own,
I found one more.  (I hope this is it...)

2005-02-02  Paul Eggert  <address@hidden>

        * lib/compile: Likewise.            

--- lib/compile 12 Oct 2004 07:02:43 -0000      1.10
+++ lib/compile 3 Feb 2005 01:08:10 -0000
@@ -47,11 +47,11 @@ right script to run: please start by rea
 
 Report bugs to <address@hidden>.
 EOF
-    exit 0
+    exit $?
     ;;
   -v | --v*)
     echo "compile $scriptversion"
-    exit 0
+    exit $?
     ;;
 esac
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]