diff options
Diffstat (limited to 'rc.d')
-rw-r--r-- | rc.d/init.d/functions | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index dd91122f..7ac305b9 100644 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -111,7 +111,6 @@ __kill_pids_term_kill() { local try=0 local delay=3; local pid= - local kill_list=$* local stat=($(< /proc/self/stat)) local base_stime=${stat[21]} @@ -120,6 +119,8 @@ __kill_pids_term_kill() { shift 2 fi + local kill_list=$* + kill_list=$(__kill_pids_term_kill_checkpids $base_stime $kill_list) [ -z "$kill_list" ] && return 0 |