mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
add back redirects
This commit is contained in:
@@ -154,13 +154,13 @@ check_salt_master_status() {
|
|||||||
|
|
||||||
check_salt_minion_status() {
|
check_salt_minion_status() {
|
||||||
local timeout="${1:-5}"
|
local timeout="${1:-5}"
|
||||||
echo "Checking if the salt minion will respond to jobs"
|
echo "Checking if the salt minion will respond to jobs" >> "$setup_log" 2>&1
|
||||||
salt "$MINION_ID" test.ping -t $timeout > /dev/null 2>&1
|
salt "$MINION_ID" test.ping -t $timeout > /dev/null 2>&1
|
||||||
local status=$?
|
local status=$?
|
||||||
if [ $status -gt 0 ]; then
|
if [ $status -gt 0 ]; then
|
||||||
echo " Minion did not respond"
|
echo " Minion did not respond" >> "$setup_log" 2>&1
|
||||||
else
|
else
|
||||||
echo " Received job response from salt minion"
|
echo " Received job response from salt minion" >> "$setup_log" 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return $status
|
return $status
|
||||||
|
|||||||
Reference in New Issue
Block a user