@cryptotaxi247 / netdata-1 / commits / 8d76516fd

prefer the users default python, then python3, then python2; fixes #700

Costa Tsaousis committed Jul 16, 2016 at 04:48 UTC 8d76516fd3f0acbd1cef7de3a422bcf2dab40767
1 file changed +1 -1
plugins.d/python.d.plugin
+1 -1
@@ -1,5 +1,5 @@
1 #!/usr/bin/env bash
2 -'''':; exec "$(command -v python2 || command -v python3 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
2 +'''':; exec "$(command -v python || command -v python3 || command -v python2 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
3 # -*- coding: utf-8 -*-
4
5 # Description: netdata python modules supervisor