aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2018-10-01 16:01:44 +0200
committerFlorian Bruhin <me@the-compiler.org>2018-10-01 16:01:44 +0200
commit73c8b42ba7af9a2f060eb3c6ddc510578bc3c938 (patch)
treebe8b8d9366d11b1cded6c48d430451f1f808dcee
parentb1ea48c3957c1cab98da2a28b8707850d9162dce (diff)
downloadhsrvpn-73c8b42ba7af9a2f060eb3c6ddc510578bc3c938.tar.gz
hsrvpn-73c8b42ba7af9a2f060eb3c6ddc510578bc3c938.zip
hsrvpn: set -e
-rwxr-xr-xhsrvpn2
1 files changed, 2 insertions, 0 deletions
diff --git a/hsrvpn b/hsrvpn
index d3c96f3..a39e790 100755
--- a/hsrvpn
+++ b/hsrvpn
@@ -1,5 +1,7 @@
#!/bin/bash
+set -e
+
if (($# < 1)); then
echo "Usage: $0 <username>" >&2
exit 1