diff --git a/migration.sh b/migration.sh index a372c1f..7ab7e19 100644 --- a/migration.sh +++ b/migration.sh @@ -18,7 +18,7 @@ echo $DATE #systemctl is-active --quiet platform6.service && systemctl stop platform6 -if [[ "PLATFORM_STATUS" == 1 ]]; then +if [[ "$PLATFORM_STATUS" == 1 ]]; then echo "echo PLATFORM_STATUS=$PLATFORM_STATUS" echo "Stopping $PLATFORM_SERVICE_NAME" systemctl stop $PLATFORM_SERVICE_NAME @@ -128,7 +128,7 @@ fonts_rsync -if [[ "PLATFORM_STATUS" == 1 ]]; then +if [[ "$PLATFORM_STATUS" == 1 ]]; then echo "start $PLATFORM_SERVICE_NAME" systemctl start $PLATFORM_SERVICE_NAME fi