mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-02-16 18:32:03 +01:00
Don't print python version in run
This commit is contained in:
parent
d2fdb6c029
commit
a441a03e57
4
run
4
run
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
export PYTHONPATH=$PWD:$PYTHONPATH
|
export PYTHONPATH=$PWD:$PYTHONPATH
|
||||||
if python3.5 -V 2>/dev/null; then
|
if python3.5 -V >/dev/null 2>&1; then
|
||||||
exec python3.5 -m "sshuttle" "$@"
|
exec python3.5 -m "sshuttle" "$@"
|
||||||
elif python2.7 -V 2>/dev/null; then
|
elif python2.7 -V >/dev/null 2>&1; then
|
||||||
exec python2.7 -m "sshuttle" "$@"
|
exec python2.7 -m "sshuttle" "$@"
|
||||||
else
|
else
|
||||||
exec python -m "sshuttle" "$@"
|
exec python -m "sshuttle" "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user