TT#32751 Fix default exit code of bailout

Exit code 0 if the funciton is called without arguments

Change-Id: I32b2b21ebc625329dc8e4552fa376b179c5736ba
changes/66/20166/1
Mykola Malkov 7 years ago
parent e8b46102a0
commit e16303168b

@ -24,7 +24,7 @@ TMP=$(mktemp)
bailout() {
rm -f "$TMP"
exit "$1"
exit "${1:-0}"
}
# This function produces the IWOURLINE for interfaces

Loading…
Cancel
Save