Skip to content

Commit

Permalink
Update add-pcs-monitoring.sh
Browse files Browse the repository at this point in the history
Fixed the monitor script so it does not show an Error when the service is working correctly
  • Loading branch information
Hutch-45D committed Jul 25, 2024
1 parent 15158aa commit 6367ea5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion add-pcs-monitoring.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ case "$1" in
;;
monitor)
if systemctl is-active --quiet nfs-server; then
ocf_exit_reason "NFS server is running"
exit $OCF_SUCCESS
else
ocf_exit_reason "NFS server is not running"
Expand Down

0 comments on commit 6367ea5

Please sign in to comment.