mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
[fix] Kill all jobs before checking if we can reach the salt master
This commit is contained in:
@@ -264,6 +264,7 @@ check_service_status() {
|
|||||||
|
|
||||||
check_salt_master_status() {
|
check_salt_master_status() {
|
||||||
echo "Checking if we can talk to the salt master" >> "$setup_log" 2>&1
|
echo "Checking if we can talk to the salt master" >> "$setup_log" 2>&1
|
||||||
|
salt-call saltutil.kill_all_jobs > /dev/null 2>&1
|
||||||
salt-call state.show_top > /dev/null 2>&1
|
salt-call state.show_top > /dev/null 2>&1
|
||||||
local status=$?
|
local status=$?
|
||||||
#true if there is an issue talking to salt master
|
#true if there is an issue talking to salt master
|
||||||
|
|||||||
Reference in New Issue
Block a user