From: brian Date: Wed, 16 Aug 2006 18:37:09 +0000 (+0000) Subject: Get the RC from update_oldconfig properly. X-Git-Tag: v1_7_100~450 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=d8d0244bce0afe54e18d43608f2f34b52a58dd7e;hp=7d26d36f47cae753e2df259a4e38d975796cbd38 Get the RC from update_oldconfig properly. --- diff --git a/build/lmake b/build/lmake index 120bea3..0c195c0 100755 --- a/build/lmake +++ b/build/lmake @@ -394,7 +394,8 @@ depend_kernel() #timed_run 300 $TOPDIR/build/update_oldconfig $logfile #local RC=${PIPESTATUS[0]} #local RC=$(strace -f -o update_oldconfig.strace bash -c "$TOPDIR/build/update_oldconfig $logfile; echo \$?") - local RC=$($TOPDIR/build/update_oldconfig $logfile; echo \$?) + $TOPDIR/build/update_oldconfig $logfile + local RC=${PIPESTATUS[0]} #$TOPDIR/build/update_oldconfig $logfile #local RC=${PIPESTATUS[0]} if [ $RC -eq 143 ]; then