add back redirects

This commit is contained in:
m0duspwnens
2023-10-18 19:31:45 -04:00
parent ff18b1f074
commit f30a652e19

View File

@@ -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