diff options
author | Brian Samek <brian.samek@mongodb.com> | 2016-11-17 11:52:27 -0500 |
---|---|---|
committer | Brian Samek <brian.samek@mongodb.com> | 2016-11-18 16:25:37 -0500 |
commit | 87b829caf901c1ec65a55252f7e088d5aa30c195 (patch) | |
tree | d418088fa94c94175cb08175eb7665a39312af4c /rpm | |
parent | 27071b2f3e476737f0f86b07ae997617748f6848 (diff) | |
download | mongo-87b829caf901c1ec65a55252f7e088d5aa30c195.tar.gz |
SERVER-27087 Escape nested quotes in RPM init script
Diffstat (limited to 'rpm')
-rwxr-xr-x | rpm/init.d-mongod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod index 19d9bf90adb..fd77af305a2 100755 --- a/rpm/init.d-mongod +++ b/rpm/init.d-mongod @@ -38,7 +38,7 @@ else fi # things from mongod.conf get there by mongod reading it -PIDFILEPATH="`awk -F'[:=]' -v IGNORECASE=1 '/^[[:blank:]]*(processManagement\.)?pidfilepath[[:blank:]]*[:=][[:blank:]]*/{print $2}' "$CONFIGFILE" | tr -d "[:blank:]\"'" | awk -F'#' '{print $1}'`" +PIDFILEPATH="`awk -F'[:=]' -v IGNORECASE=1 '/^[[:blank:]]*(processManagement\.)?pidfilepath[[:blank:]]*[:=][[:blank:]]*/{print $2}' "$CONFIGFILE" | tr -d '[:blank:]"' | awk -F'#' '{print $1}'`" PIDDIR=`dirname $PIDFILEPATH` start() |