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