Some lint fixes.

This commit is contained in:
Gareth J. Greenaway 2022-07-25 19:03:32 -07:00
parent d8c6f04a46
commit ba0d83ff3f
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

@ -8435,9 +8435,10 @@ daemons_running_tiamat() {
[ $fname = "master" ] && [ "$_INSTALL_MASTER" -eq $BS_FALSE ] && continue
[ $fname = "syndic" ] && [ "$_INSTALL_SYNDIC" -eq $BS_FALSE ] && continue
salt_path="/opt/saltstack/salt/run/run"
if [ "$(ps wwwaux | grep -v grep | grep $salt_path | grep $fname)" = "" ]; then
echoerror "$salt_process was not found running"
salt_path="/opt/saltstack/salt/run/run ${fname}"
process_running=$(pgrep -f "${salt_path}")
if [ "${process_running}" = "" ]; then
echoerror "${salt_path} was not found running"
FAILED_DAEMONS=$((FAILED_DAEMONS + 1))
fi
done