From fb251e9e98468b72820a9a21677e48add4afb071 Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Tue, 24 Nov 2015 10:01:57 +0100 Subject: [PATCH] Reformated dbus --- init/10_dbus.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init/10_dbus.sh b/init/10_dbus.sh index 69963cf..68ad650 100644 --- a/init/10_dbus.sh +++ b/init/10_dbus.sh @@ -1,6 +1,7 @@ #!/bin/bash -if [ -e /var/run/dbus/pid ]; then rm -f /var/run/dbus/pid; fi +[[ -e /var/run/dbus/pid ]] && rm -f /var/run/dbus/pid + mkdir -p /var/run/dbus chown messagebus:messagebus /var/run/dbus dbus-uuidgen --ensure