diff options
author | Jan Macku <jamacku@redhat.com> | 2020-03-24 11:04:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 11:04:57 +0100 |
commit | 78d63a837ca18cd88f6b79e11211805bea05cf0d (patch) | |
tree | ff2838a875596ef26dd7430a0ed85143cd29cbc5 /etc/rc.d | |
parent | 28dddb9c38a511276b239bf302830ede554aa420 (diff) | |
download | initscripts-78d63a837ca18cd88f6b79e11211805bea05cf0d.tar initscripts-78d63a837ca18cd88f6b79e11211805bea05cf0d.tar.gz initscripts-78d63a837ca18cd88f6b79e11211805bea05cf0d.tar.bz2 initscripts-78d63a837ca18cd88f6b79e11211805bea05cf0d.tar.xz initscripts-78d63a837ca18cd88f6b79e11211805bea05cf0d.zip |
Remove deprecated option -m of pidof
Resolves: #1798128
Co-authored-by: Lukáš Nykrýn <lnykryn@redhat.com>
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/init.d/functions | 4 |
1 files changed, 2 insertions, 2 deletions
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##*/}" } |