mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-22 07:53:43 +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
|
||||
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" "$@"
|
||||
elif python2.7 -V 2>/dev/null; then
|
||||
elif python2.7 -V >/dev/null 2>&1; then
|
||||
exec python2.7 -m "sshuttle" "$@"
|
||||
else
|
||||
exec python -m "sshuttle" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user