Fix salt-master check

This commit is contained in:
William Wernert
2021-04-20 13:12:55 -04:00
parent 369c0b43f5
commit 95bb757b03

View File

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