From d615d9188297949a89b2ac64db4314c563955632 Mon Sep 17 00:00:00 2001 From: hanzongcheng Date: Tue, 2 Nov 2021 00:15:21 +0800 Subject: rc.d/functions: do not use "+=" to concatenate string Some shell(like busybox's) do not support "+=" for string concatenation. Signed-off-by: hanzongcheng --- etc/rc.d/init.d/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.d/init.d/functions') diff --git a/etc/rc.d/init.d/functions b/etc/rc.d/init.d/functions index e5576196..0d973b3f 100644 --- a/etc/rc.d/init.d/functions +++ b/etc/rc.d/init.d/functions @@ -123,7 +123,7 @@ __kill_pids_term_kill_checkpids() { stime=${stat[21]} [ -n "$stime" ] && [ "$base_stime" -lt "$stime" ] && continue - remaining+="$pid " + remaining="$remaining$pid " done echo "$remaining" -- cgit v1.2.1