mirror of
https://git.yoctoproject.org/poky
synced 2026-03-09 00:39:39 +01:00
Upgrade lsbinitscripts from 9.64 to 9.68. (From OE-Core rev: d3f6df98318f0751948041a129faed1bd0f7a7c6) Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
570 B
Diff
25 lines
570 B
Diff
Upstream-Status: Pending
|
|
|
|
Subject: functions: avoid exit 1 which causes init scripts to fail
|
|
|
|
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
|
---
|
|
rc.d/init.d/functions | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
|
|
index 6850046..11223f7 100644
|
|
--- a/rc.d/init.d/functions
|
|
+++ b/rc.d/init.d/functions
|
|
@@ -597,6 +597,6 @@ if [ "$_use_systemctl" = "1" ]; then
|
|
fi
|
|
fi
|
|
|
|
-strstr "$(cat /proc/cmdline)" "rc.debug" && set -x
|
|
+strstr "$(cat /proc/cmdline)" "rc.debug" && set -x || true
|
|
return 0
|
|
|
|
--
|
|
2.1.0
|
|
|