diff options
Diffstat (limited to 'trunk/src/jail-update')
-rwxr-xr-x | trunk/src/jail-update | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/src/jail-update b/trunk/src/jail-update index 471591b..4a557f3 100755 --- a/trunk/src/jail-update +++ b/trunk/src/jail-update @@ -21,6 +21,7 @@ BASENAME="`basename $0`" if [ -f "$COMMON" ]; then source $COMMON + eval_config $BASENAME else echo "error: file $COMMON found, check your $BASENAME installation" exit 1 @@ -44,9 +45,10 @@ else template_name="$2" fi -search_template `basename $1` --update +search_template $template_name --update if [ "$?" != "0" ]; then + echo $BASENAME: template $template_name not found exit 1 fi |