From 78d63a837ca18cd88f6b79e11211805bea05cf0d Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Tue, 24 Mar 2020 11:04:57 +0100 Subject: Remove deprecated option -m of pidof MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: #1798128 Co-authored-by: Lukáš Nykrýn --- etc/rc.d/init.d/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/rc.d/init.d/functions b/etc/rc.d/init.d/functions index 9b0add1c..9e33ee06 100644 --- a/etc/rc.d/init.d/functions +++ b/etc/rc.d/init.d/functions @@ -218,8 +218,8 @@ __pids_var_run() { # Output PIDs of matching processes, found using pidof __pids_pidof() { - pidof -c -m -o $$ -o $PPID -o %PPID -x "$1" || \ - pidof -c -m -o $$ -o $PPID -o %PPID -x "${1##*/}" + pidof -c -o $$ -o $PPID -o %PPID -x "$1" || \ + pidof -c -o $$ -o $PPID -o %PPID -x "${1##*/}" } -- cgit v1.2.1