[Fai-commit] r4684 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Sat Nov 10 16:38:32 UTC 2007
Author: lange
Date: 2007-11-10 16:38:32 +0000 (Sat, 10 Nov 2007)
New Revision: 4684
Modified:
trunk/bin/fai
Log:
get error codes from all commands in a pipe
Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai 2007-11-10 15:53:05 UTC (rev 4683)
+++ trunk/bin/fai 2007-11-10 16:38:32 UTC (rev 4684)
@@ -40,6 +40,7 @@
fai_init() {
set -a # now export all variables
+ set -o pipefail
umask 022
if [ ! -d "$FAI_ETC_DIR" ]; then
More information about the Fai-commit
mailing list