diff options
author | Brian May <brian@linuxpenguins.xyz> | 2015-11-28 16:02:47 +1100 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2015-11-28 16:02:47 +1100 |
commit | c06c972039b94225cc06e9f7f70f28a4c2ace116 (patch) | |
tree | 02bec19ce0383b53dd24305fbf067b6ca655dfcd /run | |
parent | da62fe5b8020d3910e0ebba8ad0348341d0b1f11 (diff) |
Prefer Python3 by default.
Diffstat (limited to 'run')
-rwxr-xr-x | run | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ #!/bin/sh -if python2 -V 2>/dev/null; then - exec python2 -m "sshuttle" "$@" +if python3 -V 2>/dev/null; then + exec python3 -m "sshuttle" "$@" else exec python -m "sshuttle" "$@" fi |