[fix] Correct logic for service check + bash trap

This commit is contained in:
William Wernert committed 2020-12-03 15:38:25 -05:00
1 parent af8295a651
commit 76fff28dfa
2 files changed
+5 -7

No files matched your search

+1 -1
View File
@@ -1404,7 +1404,7 @@ reinstall_init() {
local pid=$!
local count=0
while check_service_status "$service"; do
while ! (check_service_status "$service"); do
if [[ $count -gt $service_retry_count ]]; then
echo "Could not stop $service after 1 minute, exiting setup."