mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix salt-master check
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user