Don't print python version in run

This commit is contained in:
Brian May 2016-08-30 18:52:06 +10:00
parent d2fdb6c029
commit a441a03e57

4
run
View File

@ -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" "$@"