diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 17:10:23 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 17:10:23 +0000 |
commit | 8f8b9cb92e8a557e077e77400c49193d5e84e074 (patch) | |
tree | 93a7f8d067f292fd0fa169283e85510f42824d65 /trunk | |
parent | 285ea9c4487816abb2c0dd80396bc71bb9d9d72a (diff) | |
download | simplepkg-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
Diffstat (limited to 'trunk')
-rw-r--r-- | trunk/lib/common.sh | 1 | ||||
-rwxr-xr-x | trunk/src/mkjail | 2 |
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 |