Skip to content

Commit eed6352

Browse files
committed
Fix /usr/bin/env use in shebang to honor python arguments by using the '-S'
flag. Requires a modern version of 'env' (CentOS 7 didn't have one) but that should not be an issue with this branch. This should remove the python -u log warnings from these script invocations.
1 parent 0a69438 commit eed6352

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mig/server/chksidroot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -u
1+
#!/usr/bin/env -S python -u
22
# -*- coding: utf-8 -*-
33
#
44
# --- BEGIN_HEADER ---

mig/server/chkuserroot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -u
1+
#!/usr/bin/env -S python -u
22
# -*- coding: utf-8 -*-
33
#
44
# --- BEGIN_HEADER ---

0 commit comments

Comments
 (0)