git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e160925
)
Fix bashisms in multipathd event script.
author
Mathieu Parent
<math.parent@gmail.com>
Thu, 27 Aug 2009 21:35:41 +0000
(23:35 +0200)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Sep 2009 07:52:13 +0000
(09:52 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit
13b81b6c8e01aa52a31756ecffa797a4761115db
)
ctdb/config/events.d/20.multipathd
patch
|
blob
|
history
diff --git
a/ctdb/config/events.d/20.multipathd
b/ctdb/config/events.d/20.multipathd
index 93a58ab5aa0402b02b80d0dd1d45af42cb2b091d..c740d69a7a1fa65ee14aac0a8fd757976354b0a0 100644
(file)
--- 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
}