[Top][All Lists]

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

[PATCH] bootstrap: don't exit with status 0 on errors

From: Stefano Lattarini
Subject: [PATCH] bootstrap: don't exit with status 0 on errors
Date: Sat, 21 Jul 2012 20:02:16 +0200

* bootstrap (EXIT_FAILURE): Actually initialize to '1'.  Otherwise,
the function 'func_fatal_error' will actually and unconditionally
exit with status 0 (yikes).
(EXIT_SUCCESS): Initialize to 0.  This missing initialization wasn't
causing any actual bug for now, but could easily start doing so in
the future.

Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <address@hidden>
 bootstrap | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bootstrap b/bootstrap
index b5d740c..db37209 100755
--- a/bootstrap
+++ b/bootstrap
@@ -49,6 +49,9 @@
 : ${RM='rm -f'}
 : ${SED=sed}
 # Ensure file names are sorted consistently across platforms.
 export LC_ALL

reply via email to

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