Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 10 | Index: initscripts-9.72/rc.d/init.d/functions |
| 11 | =================================================================== |
| 12 | --- initscripts-9.72.orig/rc.d/init.d/functions |
| 13 | +++ initscripts-9.72/rc.d/init.d/functions |
| 14 | @@ -686,6 +686,6 @@ if [ "$_use_systemctl" = "1" ]; then |
| 15 | fi |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | fi |
| 17 | |
| 18 | -strstr "$(cat /proc/cmdline)" "rc.debug" && set -x |
| 19 | +strstr "$(cat /proc/cmdline)" "rc.debug" && set -x || true |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 20 | return 0 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 21 | |