diff --git a/setup/so-functions b/setup/so-functions index b00c066d8..6745884ea 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1790,7 +1790,7 @@ reinstall_init() { local service_retry_count=20 { - if command -v salt-call &> /dev/null && grep -q "master:" /etc/salt/minion; then + if command -v salt-call &> /dev/null && grep -q "master:" /etc/salt/minion 2> /dev/null; then # Disable schedule so highstate doesn't start running during the install salt-call -l info schedule.disable