opnsense-ports/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
Franco Fichtner c6a96d6ed6 net-mgmt/netdata: sync with upstream
Taken from: HardenedBSD
2019-03-22 03:20:42 +01:00

9 lines
430 B
Text

--- collectors/python.d.plugin/python.d.plugin.in.orig 2019-02-03 14:09:41 UTC
+++ collectors/python.d.plugin/python.d.plugin.in
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-'''':; 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 -*-