Subject: [alpine-devel] main/multipath-tools

From: Sergey T <[email-masked]>
Date: Fri, 17 Oct 2014 17:01:56 +0400

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 $?
 }