opnsense-ports/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
Franco Fichtner 89dffc89be net-mgmt/netdata: sync with upstream
Taken from: HardenedBSD
2019-06-03 04:15:36 +02:00

11 lines
490 B
Text

--- collectors/python.d.plugin/python.d.plugin.in.orig 2019-05-27 21:36:18 UTC
+++ collectors/python.d.plugin/python.d.plugin.in
@@ -3,7 +3,7 @@
if [[ "$OSTYPE" == "darwin"* ]]; then
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
fi
-exec "$(command -v python || command -v python3 || command -v python2 ||
+exec "$(command -v python || command -v python3.6 || command -v python2.7 ||
echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
# -*- coding: utf-8 -*-