diff options
Diffstat (limited to 'meta/recipes-extended/lsb/lsbinitscripts/0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch')
-rw-r--r-- | meta/recipes-extended/lsb/lsbinitscripts/0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-extended/lsb/lsbinitscripts/0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch b/meta/recipes-extended/lsb/lsbinitscripts/0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch new file mode 100644 index 0000000000..0809c9be97 --- /dev/null +++ b/meta/recipes-extended/lsb/lsbinitscripts/0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Subject: functions: avoid exit 1 which causes init scripts to fail | ||
4 | |||
5 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
6 | --- | ||
7 | rc.d/init.d/functions | 2 +- | ||
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions | ||
11 | index 6850046..11223f7 100644 | ||
12 | --- a/rc.d/init.d/functions | ||
13 | +++ b/rc.d/init.d/functions | ||
14 | @@ -597,5 +597,5 @@ if [ "$_use_systemctl" = "1" ]; then | ||
15 | fi | ||
16 | fi | ||
17 | |||
18 | -strstr "$(cat /proc/cmdline)" "rc.debug" && set -x | ||
19 | +strstr "$(cat /proc/cmdline)" "rc.debug" && set -x || true | ||
20 | |||
21 | -- | ||
22 | 2.1.0 | ||
23 | |||