aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Macku <jamacku@redhat.com>2020-04-14 16:28:17 +0200
committerGitHub <noreply@github.com>2020-04-14 16:28:17 +0200
commitc4943660331ca6a30f6cf2bcf8465852e2c8efb0 (patch)
tree5554a4aa50f86dc2a9f250ed6848a098bf7c7fb8
parent285087cfef1a78b34c8178231319f70ccea2063e (diff)
downloadinitscripts-c4943660331ca6a30f6cf2bcf8465852e2c8efb0.tar
initscripts-c4943660331ca6a30f6cf2bcf8465852e2c8efb0.tar.gz
initscripts-c4943660331ca6a30f6cf2bcf8465852e2c8efb0.tar.bz2
initscripts-c4943660331ca6a30f6cf2bcf8465852e2c8efb0.tar.xz
initscripts-c4943660331ca6a30f6cf2bcf8465852e2c8efb0.zip
Remove deprecated option -m of pidof
Resolves: #1798128 (cherry picked from commit 516fb3ed7b7e2c9e8ba4e996cb9b6051acfdccd3)
-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 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##*/}"
}