summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/update-rc.d.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index cb217681e3..3051b7933f 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -15,7 +15,7 @@ update-rc.d $OPT ${INITSCRIPT_NAME} ${INITSCRIPT_PARAMS}
15} 15}
16 16
17updatercd_prerm() { 17updatercd_prerm() {
18if test "x$D" == "x"; then 18if test "x$D" = "x"; then
19 ${INIT_D_DIR}/${INITSCRIPT_NAME} stop 19 ${INIT_D_DIR}/${INITSCRIPT_NAME} stop
20fi 20fi
21} 21}