diff options
Diffstat (limited to 'trunk/src/jail-update')
-rwxr-xr-x | trunk/src/jail-update | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trunk/src/jail-update b/trunk/src/jail-update index 8cfc49a..c5a008f 100755 --- a/trunk/src/jail-update +++ b/trunk/src/jail-update @@ -50,6 +50,9 @@ search_template $template_name --update if [ "$?" != "0" ]; then echo $BASENAME: template $template_name not found exit 1 +elif [ ! -d "$1" ]; then + echo $BASENAME: jail $1 not found + exit 1 fi update_template_files |