[reafactor] systemctl stop -> kill

This commit is contained in:
William Wernert
2020-12-02 17:07:49 -05:00
parent fc7fe23590
commit af8295a651

View File

@@ -1400,7 +1400,7 @@ reinstall_init() {
# Kill any salt processes (safely) # Kill any salt processes (safely)
for service in "${salt_services[@]}"; do for service in "${salt_services[@]}"; do
# Stop the service in the background so we can exit after a certain amount of time # Stop the service in the background so we can exit after a certain amount of time
systemctl stop "$service" & systemctl kill "$service" &
local pid=$! local pid=$!
local count=0 local count=0