aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 17:10:23 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 17:10:23 +0000
commit8f8b9cb92e8a557e077e77400c49193d5e84e074 (patch)
tree93a7f8d067f292fd0fa169283e85510f42824d65
parent285ea9c4487816abb2c0dd80396bc71bb9d9d72a (diff)
downloadsimplepkg-8f8b9cb92e8a557e077e77400c49193d5e84e074.tar.gz
simplepkg-8f8b9cb92e8a557e077e77400c49193d5e84e074.tar.bz2
mkjail: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@294 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/lib/common.sh1
-rwxr-xr-xtrunk/src/mkjail2
2 files changed, 2 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 778fcc6..cb88ec7 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -338,6 +338,7 @@ function search_default_template {
echo $BASENAME: please create a template using templatepkg
return 1
fi
+
}
function search_template {
diff --git a/trunk/src/mkjail b/trunk/src/mkjail
index 37bb4ba..27bf8d5 100755
--- a/trunk/src/mkjail
+++ b/trunk/src/mkjail
@@ -77,8 +77,8 @@ if [ ! -z "$2" ]; then
search_template $2
result="$?"
else
- result="$?"
search_default_template
+ result="$?"
fi
if [ "$result" != "0" ]; then