diff options
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 |