fix ported eend function return value
[grml-debootstrap.git] / grml-debootstrap
index 8bbed71..8c145b5 100755 (executable)
@@ -129,6 +129,7 @@ eend() {
   if [ $retval -gt 0 ]; then
     printf " ${BAD}-> Failed (rc=${retval})${NORMAL}\n"
   fi
+  return $retval
 }
 
 check4root(){
@@ -540,6 +541,7 @@ Last chance to quit. Timeout of 10 seconds running....
 
 Do you want to stop now?" 0 0 2>/dev/null
 }
+# }}}
 
 # make sure the user is aware of the used configuration {{{
 checkconfiguration()