aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/jail-update
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 20:03:24 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 20:03:24 +0000
commit005c11c828bec5a42ca4a083cb8a38ba9beff7a3 (patch)
tree963a812d9aad44423dddf1c9d131246fe6261ee7 /trunk/src/jail-update
parent8f8b9cb92e8a557e077e77400c49193d5e84e074 (diff)
downloadsimplepkg-005c11c828bec5a42ca4a083cb8a38ba9beff7a3.tar.gz
simplepkg-005c11c828bec5a42ca4a083cb8a38ba9beff7a3.tar.bz2
some fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@295 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/jail-update')
-rwxr-xr-xtrunk/src/jail-update3
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