]> git.ozlabs.org Git - yaboot.git/commitdiff
ybin succeeds but returns error code
authorAnton Blanchard <anton@samba.org>
Thu, 5 Feb 2009 14:19:26 +0000 (14:19 +0000)
committerTony Breeds <tony@bakeyournoodle.com>
Fri, 13 Feb 2009 00:29:33 +0000 (11:29 +1100)
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 <anton@samba.org>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
ybin/ybin

index 379b94b912593e4f9eff6e61c90df59c9dbc98c9..cf58db9ec2da27669ca059c3b443a7dec2edfc0f 100755 (executable)
--- 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.