2017-07-27 14:40:50

by Steve Dickson

[permalink] [raw]
Subject: [PATCH] mountstats: remove shebang

There might be an issue that the script is executed with unwanted
version of <lang>.

Signed-off-by: Steve Dickson <[email protected]>
---
tools/mountstats/mountstats.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
index 88ccdae..a68d702 100644
--- a/tools/mountstats/mountstats.py
+++ b/tools/mountstats/mountstats.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
# -*- python-mode -*-
"""Parse /proc/self/mountstats and display it in human readable form
"""
--
2.13.3



2017-07-27 17:39:26

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH] mountstats: remove shebang



On 07/27/2017 10:40 AM, Steve Dickson wrote:
> There might be an issue that the script is executed with unwanted
> version of <lang>.
>
> Signed-off-by: Steve Dickson <[email protected]>
Committed...

steved.
> ---
> tools/mountstats/mountstats.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
> index 88ccdae..a68d702 100644
> --- a/tools/mountstats/mountstats.py
> +++ b/tools/mountstats/mountstats.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> +#!/usr/bin/python
> # -*- python-mode -*-
> """Parse /proc/self/mountstats and display it in human readable form
> """
>