From cd129c122cf0161afb96b60b5bc5c06c781ca5d6 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 9 Dec 2008 16:35:24 +0100 Subject: typo fix --- src/aif.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/aif.sh') diff --git a/src/aif.sh b/src/aif.sh index 32c1173..ea0e4e7 100755 --- a/src/aif.sh +++ b/src/aif.sh @@ -121,8 +121,8 @@ load_lib () # $3... extra args for phase/worker (optional) execute () { - [ -z "$1" -o -z "$2" ] && die_error "Use the execute function like this: execute with type=phase/worker" - [ "$1" != phase -a "$1" != worker ] && die_error "execute's first argument must be a valid type (phase/worker)" + [ -z "$1" -o -z "$2" ] && debug "execute $@" && die_error "Use the execute function like this: execute with type=phase/worker" + [ "$1" != phase -a "$1" != worker ] && debug "execute $@" && die_error "execute's first argument must be a valid type (phase/worker)" PWD_BACKUP=`pwd` object=$1_$2 -- cgit v1.2.3-54-g00ecf