Return the original failed exit code and not that of 'echo'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35710 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1d69d5aed5
commit
91db81894a
@ -223,15 +223,17 @@ function InstallBroadcom43xx()
|
||||
PreFirmwareInstallation
|
||||
|
||||
BuildBroadcomFWCutter
|
||||
if [ $? -gt 0 ] ; then
|
||||
returnCode=$?
|
||||
if [ $returnCode -gt 0 ] ; then
|
||||
echo "...failed. ${driver}'s firmware will not be installed."
|
||||
return $?
|
||||
return $returnCode
|
||||
fi
|
||||
|
||||
CutAndInstallBroadcomFirmware
|
||||
if [ $? -gt 0 ] ; then
|
||||
returnCode=$?
|
||||
if [ $returnCode -gt 0 ] ; then
|
||||
echo "...failed. ${driver}'s firmware will not be installed."
|
||||
return $?
|
||||
return $returnCode
|
||||
fi
|
||||
|
||||
PostFirmwareInstallation
|
||||
|
Loading…
x
Reference in New Issue
Block a user