From 8d76516fd3f0acbd1cef7de3a422bcf2dab40767 Mon Sep 17 00:00:00 2001 From: Costa Tsaousis Date: Sat, 16 Jul 2016 04:48:46 +0300 Subject: [PATCH] prefer the users default python, then python3, then python2; fixes #700 --- plugins.d/python.d.plugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.d/python.d.plugin b/plugins.d/python.d.plugin index 746802cb..efccd3c1 100755 --- a/plugins.d/python.d.plugin +++ b/plugins.d/python.d.plugin @@ -1,5 +1,5 @@ #!/usr/bin/env bash -'''':; exec "$(command -v python2 || command -v python3 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' +'''':; exec "$(command -v python || command -v python3 || command -v python2 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' # -*- coding: utf-8 -*- # Description: netdata python modules supervisor -- 2.39.2