summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/deploy/codeq_refresh_and_deploy.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/deploy/codeq_refresh_and_deploy.sh b/scripts/deploy/codeq_refresh_and_deploy.sh
index 46995ce..57a23b2 100755
--- a/scripts/deploy/codeq_refresh_and_deploy.sh
+++ b/scripts/deploy/codeq_refresh_and_deploy.sh
@@ -73,7 +73,7 @@ if [ $BUILD_WEB_RESOURCES -ne 0 ]; then
fi
if [ $RESTART_PROLOG -ne 0 ]; then
echo Restarting codeq-prolog
- if [ "$init" == systemd ]; then
+ if [ "$init" = systemd ]; then
systemctl restart codeq-prolog
else
/etc/init.d/codeq-prolog restart
@@ -81,7 +81,7 @@ if [ $RESTART_PROLOG -ne 0 ]; then
fi
if [ $RESTART_SERVER -ne 0 ]; then
echo Restarting codeq-server
- if [ "$init" == systemd ]; then
+ if [ "$init" = systemd ]; then
systemctl restart codeq-server
else
/etc/init.d/codeq-server restart
@@ -89,7 +89,7 @@ if [ $RESTART_SERVER -ne 0 ]; then
fi
if [ $RESTART_WEB -ne 0 ]; then
echo Restarting codeq-web
- if [ "$init" == systemd ]; then
+ if [ "$init" = systemd ]; then
systemctl restart codeq-web
else
/etc/init.d/codeq-web restart