diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-05-15 22:47:39 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-05-15 22:48:05 +0200 |
commit | 148ae72a5da7e6c145076d43ac53824dbee3de25 (patch) | |
tree | 0a546a35c20537b6bc386cfd6527647566972cd4 /bin | |
parent | a2238f99ff1f977a47610637b26a14433482582a (diff) |
made error more clean
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/extra/ehbvpn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/extra/ehbvpn b/bin/extra/ehbvpn index b9a9f45..d3e587c 100755 --- a/bin/extra/ehbvpn +++ b/bin/extra/ehbvpn @@ -5,8 +5,11 @@ then exit 1 fi -which pptpsetup > /dev/null 2>&1 || +if ! which pptpsetup > /dev/null 2>&1 +then echo "Please install pptpsetup..." >&2 + exit 1 +fi name="ehb_tunnel" ip="193.190.238.38" @@ -27,4 +30,3 @@ Created tunnel: $name activate it with # pon ehb_tunnel debug dump logfd 2 nodetach EOF - |