Merge pull request #11572 from Security-Onion-Solutions/minechanges

This commit is contained in:
Mike Reeves
2023-10-18 19:37:34 -04:00
committed by GitHub
8 changed files with 56 additions and 7 deletions

View File

@@ -153,8 +153,8 @@ check_salt_master_status() {
}
check_salt_minion_status() {
local timeout=$1
echo "Checking if the salt minion will respond to jobs" >> "$setup_log" 2>&1
local timeout="${1:-5}"
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
local status=$?
if [ $status -gt 0 ]; then