diff options
| -rw-r--r-- | meta/recipes-extended/lsb/lsbinitscripts/0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch | 17 |
1 files changed, 7 insertions, 10 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 index 17c90029c3..c0076453f2 100644 --- 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 | |||
| @@ -7,18 +7,15 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
| 7 | rc.d/init.d/functions | 2 +- | 7 | rc.d/init.d/functions | 2 +- |
| 8 | 1 file changed, 1 insertion(+), 1 deletion(-) | 8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 | 9 | ||
| 10 | diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions | 10 | Index: initscripts-9.72/rc.d/init.d/functions |
| 11 | index 6850046..11223f7 100644 | 11 | =================================================================== |
| 12 | --- a/rc.d/init.d/functions | 12 | --- initscripts-9.72.orig/rc.d/init.d/functions |
| 13 | +++ b/rc.d/init.d/functions | 13 | +++ initscripts-9.72/rc.d/init.d/functions |
| 14 | @@ -597,6 +597,6 @@ if [ "$_use_systemctl" = "1" ]; then | 14 | @@ -686,6 +686,6 @@ if [ "$_use_systemctl" = "1" ]; then |
| 15 | fi | 15 | fi |
| 16 | fi | 16 | fi |
| 17 | 17 | ||
| 18 | -strstr "$(cat /proc/cmdline)" "rc.debug" && set -x | 18 | -strstr "$(cat /proc/cmdline)" "rc.debug" && set -x |
| 19 | +strstr "$(cat /proc/cmdline)" "rc.debug" && set -x || true | 19 | +strstr "$(cat /proc/cmdline)" "rc.debug" && set -x || true |
| 20 | return 0 | 20 | return 0 |
| 21 | 21 | ||
| 22 | -- | ||
| 23 | 2.1.0 | ||
| 24 | |||
