move parens

This commit is contained in:
m0duspwnens
2020-08-14 11:20:18 -04:00
parent 876c6c7cb0
commit aa2b0699d5

View File

@@ -1456,7 +1456,7 @@ salt_checkin() {
echo "Starting service $service" >> "$setup_log" 2>&1
systemctl start "$service" >> "$setup_log" 2>&1
LOOP_COUNT=0
while ! (( check_service_status )) "$service"; do
while ! (( check_service_status "$service" )); do
echo "$service still not running" >> "$setup_log" 2>&1
if [ $LOOP_COUNT -gt 60 ]; then
echo "$service could not be started in 60 seconds, exiting" >> "$setup_log" 2>&1