Fix default exit code of bailout
[grml-network.git] / sbin / netcardconfig
index fc4e645..83cac2b 100755 (executable)
@@ -21,7 +21,7 @@ TMP=$(mktemp)
 
 bailout() {
   rm -f "$TMP"
-  exit "$1"
+  exit "${1:-0}"
 }
 
 # This function produces the IWOURLINE for interfaces