diff options
-rwxr-xr-x | localcowbuilder-login | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/localcowbuilder-login b/localcowbuilder-login index dbd869f..97faea4 100755 --- a/localcowbuilder-login +++ b/localcowbuilder-login @@ -32,9 +32,14 @@ Example: $PRG sarge_with_hacks EOF } +exit1() { + echo "ERROR: $1" + exit 1 +} + if [ $# -eq 0 ]; then showhelp - exit 1 + exit1 "not enough parameters" fi pool=$1 |