assigned literal on accident..

This commit is contained in:
Heavybullets8 2022-08-11 01:50:41 -06:00
parent 06f0f7ea3a
commit ec422e8db9

View File

@ -214,7 +214,7 @@ if [[ $rollback == "true" || "$startstatus" == "STOPPED" ]]; then
old_status=$(grep "^$app_name," temp.txt) old_status=$(grep "^$app_name," temp.txt)
else else
before_loop=$(head -n 1 temp.txt) before_loop=$(head -n 1 temp.txt)
new_status=old_status new_status=$old_status
until [[ "$new_status" != "$old_status" || $current_loop -gt 3 ]] # Wait for a change in the file BEFORE continuing until [[ "$new_status" != "$old_status" || $current_loop -gt 3 ]] # Wait for a change in the file BEFORE continuing
do do
new_status=$(grep "^$app_name," temp.txt) new_status=$(grep "^$app_name," temp.txt)