diff --git a/src/warden-server/sh/install.sh b/src/warden-server/sh/install.sh index 78cdb51b8e5db8d0e165bc6be18826d79e31c3ba..1b3c1b1e4e10f55396d0e4b4888f98da060f1ada 100755 --- a/src/warden-server/sh/install.sh +++ b/src/warden-server/sh/install.sh @@ -74,8 +74,8 @@ rootChck() paramsChck() { if [ -z $prefix ]; then - prefix=/opt - echo "Warning: parameter -d <directory> is not set - default installation directory is ${prefix}!" + echo "Parameter -d <directory> is not set!" + exit 1 fi if [ -z $key ]; then echo "Parameter -k <ssl_key_file> is not set!" diff --git a/src/warden-server/sh/uninstall.sh b/src/warden-server/sh/uninstall.sh index 891c305bf2afd9406d6bf38e0247c887d28aeaa9..762b57d27d922eac80afef41fa67af4395bc1f0b 100755 --- a/src/warden-server/sh/uninstall.sh +++ b/src/warden-server/sh/uninstall.sh @@ -74,8 +74,8 @@ rootChck() paramsChck() { if [ -z $prefix ]; then - prefix=/opt - echo "Warning: parameter -d <directory> is not set - default uninstallation directory is ${prefix}!" + echo "Parameter -d <directory> is not set!" + exit 1 fi } diff --git a/src/warden-server/sh/update.sh b/src/warden-server/sh/update.sh index 7f337d04b54905b44f091cf952fc55f6d26c78fb..36d996de715df1e85baaec9ee9d9ffc53209346b 100755 --- a/src/warden-server/sh/update.sh +++ b/src/warden-server/sh/update.sh @@ -73,8 +73,8 @@ rootChck() paramsChck() { if [ -z $prefix ]; then - prefix=/opt - echo "Warning: parameter -d <directory> is not set - default update directory is ${prefix}!" + echo "Parameter -d <directory> is not set!" + exit 1 fi }