From a8972b7b7fc993a5e422125f9e27b53a004e231e Mon Sep 17 00:00:00 2001 From: mboelen Date: Thu, 10 Sep 2015 08:35:40 +0200 Subject: [PATCH] Changed exit codes when using incorrect parameters --- include/parameters | 4 ++-- 1 file 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 ;;