aboutsummaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorJan Macku <jamacku@redhat.com>2020-03-24 11:04:57 +0100
committerGitHub <noreply@github.com>2020-03-24 11:04:57 +0100
commit78d63a837ca18cd88f6b79e11211805bea05cf0d (patch)
treeff2838a875596ef26dd7430a0ed85143cd29cbc5 /etc/rc.d
parent28dddb9c38a511276b239bf302830ede554aa420 (diff)
downloadinitscripts-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/functions4
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##*/}"
}