From 9baef769b23daa33e8adbd90759b762cefdb5b52 Mon Sep 17 00:00:00 2001 From: paulfantom Date: Mon, 11 Jul 2016 21:29:10 +0200 Subject: [PATCH] hacky shebang --- plugins.d/python.d.plugin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins.d/python.d.plugin b/plugins.d/python.d.plugin index 02f3024f..3e13be02 100755 --- a/plugins.d/python.d.plugin +++ b/plugins.d/python.d.plugin @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/env bash +'''':; exec "$(command -v python2 || command -v python3 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' # -*- coding: utf-8 -*- # Description: netdata python modules supervisor -- 2.39.2