From c4943660331ca6a30f6cf2bcf8465852e2c8efb0 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Tue, 14 Apr 2020 16:28:17 +0200 Subject: Remove deprecated option -m of pidof Resolves: #1798128 (cherry picked from commit 516fb3ed7b7e2c9e8ba4e996cb9b6051acfdccd3) --- 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 1473d3b0..7c97b414 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