diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
commit | 38423c67c8a23f6a1bc42038193182e2da3116eb (patch) | |
tree | 04e2cf4bd43601b77daa79fe654e409187093c5e /net-wireless/unifi/files | |
parent | 623ee73d661e5ed8475cb264511f683407d87365 (diff) |
gentoo resync : 25.04.2020
Diffstat (limited to 'net-wireless/unifi/files')
-rw-r--r-- | net-wireless/unifi/files/mongod-wrapper | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net-wireless/unifi/files/mongod-wrapper b/net-wireless/unifi/files/mongod-wrapper index 21637de50a0f..e8d65bb8aec9 100644 --- a/net-wireless/unifi/files/mongod-wrapper +++ b/net-wireless/unifi/files/mongod-wrapper @@ -2,5 +2,10 @@ # Remove --nohttpinterface argument, since it does not exist on MongoDB >= 3.6.x anymore # See https://community.ubnt.com/t5/UniFi-Routing-Switching/MongoDB-3-6/td-p/2195435 -remove_nohttpinterface_arg=$(echo $* | sed -e 's/--nohttpinterface//') -/usr/bin/mongod ${remove_nohttpinterface_arg} +for arg do + shift + [ "${arg}" = "--nohttpinterface" ] && continue + set -- "$@" "${arg}" +done + +exec /usr/bin/mongod "$@" |