From: Anton Blanchard Date: Thu, 5 Feb 2009 14:19:26 +0000 (+0000) Subject: ybin succeeds but returns error code X-Git-Tag: yaboot-1.3.15-rc~3 X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=commitdiff_plain;h=eef44476ec965ef671c9bd239936ef6f2ee38afa ybin succeeds but returns error code Hi, On a System p box, ybin returns an error even though it succeeds: # ybin # echo $? 1 The patch below fixes it: # ybin # echo $? 0 Signed-off-by: Anton Blanchard Signed-off-by: Tony Breeds --- diff --git a/ybin/ybin b/ybin/ybin index 379b94b..cf58db9 100755 --- a/ybin/ybin +++ b/ybin/ybin @@ -1152,6 +1152,7 @@ raw_install() fi sync ; sync [ "$VERBOSE" = 1 ] && echo "$PRG: Installation successful" + return 0 } ## make sure the first stage ofboot generator is compatible.