Fix salt-master check

This commit is contained in:
William Wernert
2021-04-20 13:12:55 -04:00
parent 86e7c0f87d
commit 075ba0d83b

View File

@@ -175,10 +175,8 @@ __check_so_status() {
} }
__check_salt_master() { __check_salt_master() {
local salt_master_status $sshcmd -i /root/.ssh/so.key soremote@"$MSRV" systemctl is-active --quiet salt-master
salt_master_status=$($sshcmd -i /root/.ssh/so.key soremote@"$MSRV" systemctl is-active --quiet salt-master) return $?
[[ -z $salt_master_status ]] && salt_master_status=1
return $salt_master_status
} }
check_network_manager_conf() { check_network_manager_conf() {