Permalink
Browse files

dbus: fix startdaemon_pre() (refs #2329)

git-svn-id: file:///var/svn/freetz/trunk@11563 149334a1-2f27-0410-a3b9-fc62619ac1e6
  • Loading branch information...
1 parent 2ad350b commit 60f4488549765929609cf46871d9e1f1bf02e25b cuma committed Jan 15, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 make/dbus/files/root/etc/init.d/rc.dbus
@@ -8,7 +8,8 @@ PID_FILE=/var/run/dbus/pid
startdaemon_pre() {
- [ -x /usr/bin/dbus-uuidgen ] && /usr/bin/dbus-uuidgen --ensure
+ [ ! -x /usr/bin/dbus-uuidgen ] && return 0
+ /usr/bin/dbus-uuidgen --ensure
}
start() {

0 comments on commit 60f4488

Please sign in to comment.