summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/ezx/ezxd/ezxd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/ezx/ezxd/ezxd.init b/packages/ezx/ezxd/ezxd.init
index dccd293af1..3e33064166 100644
--- a/packages/ezx/ezxd/ezxd.init
+++ b/packages/ezx/ezxd/ezxd.init
@@ -49,8 +49,8 @@ start_it_up()
shut_it_down()
{
- if [ -d $EVENTDIR ]; then
- run-parts --reverse --arg=stop $EVENTDIR
+ if [ -d "$EVENTDIR" ]; then
+ run-parts --arg=stop $EVENTDIR
fi
echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --pidfile $PIDFILE