summaryrefslogtreecommitdiffstats
path: root/ctdb/config/events.d/20.multipathd
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/config/events.d/20.multipathd')
-rw-r--r--ctdb/config/events.d/20.multipathd4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/config/events.d/20.multipathd b/ctdb/config/events.d/20.multipathd
index 93a58ab5aa0..c740d69a7a1 100644
--- a/ctdb/config/events.d/20.multipathd
+++ b/ctdb/config/events.d/20.multipathd
@@ -52,7 +52,7 @@ multipathd_check()
timeleft=$(($timeleft - 1))
# see if the process still exists
- kill -0 $pid > /dev/null 2>&1 || {
+ /bin/kill -0 $pid > /dev/null 2>&1 || {
# it doesn't exist, grab its exit status
wait $pid
[ $? = 0 ] || {
@@ -87,7 +87,7 @@ case $cmd in
monitor)
multipathd_check
- [ "$?" == "0" ] || {
+ [ "$?" = "0" ] || {
echo 20.multipathd: monitoring of multipathing failed
exit 1
}