summaryrefslogtreecommitdiff
path: root/admin/netdata/patches/002-force-python3.patch
blob: 84d19259da9893c582bf130acb6d1ee758e43d1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/collectors/python.d.plugin/python.d.plugin.in
+++ b/collectors/python.d.plugin/python.d.plugin.in
@@ -1,10 +1,4 @@
-#!/usr/bin/env bash
-'''':;
-if [[ "$OSTYPE" == "darwin"* ]]; then
-    export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
-fi
-exec "$(command -v python || command -v python3 || command -v python2 ||
-echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
+#!/usr/bin/python3

 # -*- coding: utf-8 -*-
 # Description: