[alpine-devel] main/multipath-tools

Sergey T
Details
Message ID
<CAOoJqMdXcNUeofZ5WxTnB7GH_4ur27Aw41Tjr-+zisKdiyEyoA@mail.gmail.com>
Sender timestamp
1413550916
DKIM signature
missing
Download raw message
Patch: +2 -2
Dear friends,

It would be better to remove "()" in undo_nodes() and do_nodes() strings
because /sbin/runscript actually does not call functions this way.

Regards.
-Sheavy

--- aports/main/multipath-tools/multipath-tools.initd.orig
+++ aports/main/multipath-tools/multipath-tools.initd
@@ -25,13 +25,13 @@
  ebegin "Starting multipathd"
  start-stop-daemon --start --quiet --make-pidfile \
   --pidfile /var/run/multipathd.pid --exec /sbin/multipathd
- do_nodes()
+ do_nodes
  eend $?
 }

 stop() {
  ebegin "Stopping multipathd"
- undo_nodes()
+ undo_nodes
  start-stop-daemon --stop --quiet --retry --pidfile /var/run/multipathd.pid
  eend $?
 }