diff options
author | mboelen <michael@cisofy.com> | 2015-09-10 09:35:40 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-09-10 09:35:40 +0300 |
commit | a8972b7b7fc993a5e422125f9e27b53a004e231e (patch) | |
tree | 9540bb26cbb5e231b890012eed7e29c725ac711f | |
parent | 7f4ee7ba5650cfb5345d7a45fc4d533add6448bf (diff) |
Changed exit codes when using incorrect parameters
-rw-r--r-- | include/parameters | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/parameters b/include/parameters index aadc6700..b4501f6a 100644 --- a/include/parameters +++ b/include/parameters @@ -169,11 +169,11 @@ LASTCHAR=`echo $1 | awk '{ print substr($0, length($0))}'` if [ "${LASTCHAR}" = "/" ]; then echo "${RED}Error:${WHITE} plugin directory path should not end with a slash${NORMAL}" - ExitFatal + ExitCustom 65 fi if [ ! -d ${PLUGINDIR} ]; then echo "${RED}Error:${WHITE} invalid plugin directory ${PLUGINDIR}${NORMAL}" - ExitFatal + ExitCustom 66 fi ;; |