diff options
-rw-r--r-- | lib/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common.sh b/lib/common.sh index fc62611..461c283 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -361,7 +361,7 @@ function search_template { TEMPLATE_BASE="$BASE_CONF/templates/$1/$1" mkdir -p $BASE_CONF/templates/$1 fi - elif [ "$2" == "--update" ] + elif [ "$2" == "--update" ]; then return 1 else echo $BASENAME: template $1 not found |