Differential D20452 Diff 58053 head/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
Changeset View
Changeset View
Standalone View
Standalone View
head/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
--- collectors/python.d.plugin/python.d.plugin.in.orig 2019-02-03 14:09:41 UTC | --- collectors/python.d.plugin/python.d.plugin.in.orig 2019-05-27 21:36:18 UTC | ||||
+++ collectors/python.d.plugin/python.d.plugin.in | +++ collectors/python.d.plugin/python.d.plugin.in | ||||
@@ -1,5 +1,5 @@ | @@ -3,7 +3,7 @@ | ||||
#!/usr/bin/env bash | if [[ "$OSTYPE" == "darwin"* ]]; then | ||||
-'''':; exec "$(command -v python || command -v python3 || command -v python2 || | export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES | ||||
+'''':; exec "$(command -v python || command -v python3.6 || command -v python2.7 || | 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" "$@" # ''' | echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' | ||||
# -*- coding: utf-8 -*- | # -*- coding: utf-8 -*- |