summaryrefslogtreecommitdiffstats
path: root/meta/classes/systemd.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/systemd.bbclass')
-rw-r--r--meta/classes/systemd.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index 7e51ed6718..99a08a09a4 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -36,7 +36,7 @@ if type systemctl >/dev/null 2>/dev/null; then
36 systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE} 36 systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE}
37 37
38 if [ -z "$D" -a "${SYSTEMD_AUTO_ENABLE}" = "enable" ]; then 38 if [ -z "$D" -a "${SYSTEMD_AUTO_ENABLE}" = "enable" ]; then
39 systemctl restart ${SYSTEMD_SERVICE} 39 systemctl --no-block restart ${SYSTEMD_SERVICE}
40 fi 40 fi
41fi 41fi
42} 42}