diff options
author | rudson <rudson@04377dda-e619-0410-9926-eae83683ac58> | 2007-12-02 01:10:57 +0000 |
---|---|---|
committer | rudson <rudson@04377dda-e619-0410-9926-eae83683ac58> | 2007-12-02 01:10:57 +0000 |
commit | b323fe88f976fe2c5ca75fafba1e689b81e7fa3a (patch) | |
tree | ce894000049a3aed06299e2eb57b32f7db91c588 /trunk/lib | |
parent | 76cb2a284631a2354a368320234b16f4316fd137 (diff) | |
download | simplepkg-b323fe88f976fe2c5ca75fafba1e689b81e7fa3a.tar.gz simplepkg-b323fe88f976fe2c5ca75fafba1e689b81e7fa3a.tar.bz2 |
bugfixes - ver CHANGELOG
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@462 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/lib')
-rw-r--r-- | trunk/lib/common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 3db98a8..5a2cb35 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -784,7 +784,7 @@ function handle_error { $ERROR_PAR_NUMBER) eecho $error "$BASENAME: incorrect number of parameters" ;; $ERROR_COMMON_NOT_FOUND) - eecho $error "$BASENAME: file $COMMON_SH not found. Check your $BASENAME installation" + eecho $error "$BASENAME: file $COMMON_SH not found. Check your $BASENAME installation" ;; # # Createpkg errors @@ -810,7 +810,7 @@ function handle_error { eecho $error "$BASENAME: unknown error or user interrupt" ;; esac - exit $1 + is_number $1 && exit $1 || exit 1 } |