From f5a39f6a15de91170b93905bc5996495605adba7 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Thu, 18 Jul 2019 12:11:29 +0200 Subject: [PATCH] B #2282: Add meaningful log info When host fencing isn't configured yet (cherry picked from commit 6aa5942721777be1dd242c34ae68d5a2bb51c607) --- share/hooks/ft/fence_host.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/hooks/ft/fence_host.sh b/share/hooks/ft/fence_host.sh index 49cc0163aa..d5b0573b4d 100755 --- a/share/hooks/ft/fence_host.sh +++ b/share/hooks/ft/fence_host.sh @@ -45,7 +45,7 @@ # @return 0 on success. Make sure this script does not return 0 if it fails. # To enable remove this line -exit 1 +echo ""Fence host not configured, please edit ft/fence_host.sh"" && exit 1 #------------------------------------------------------------------------------- # Get host parameters with XPATH