summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Landau <alex.landau@xorcom.com>2008-12-08 13:53:32 +0000
committerAlex Landau <alex.landau@xorcom.com>2008-12-08 13:53:32 +0000
commit3f8d33104b558cc993f70eb560d5dd3d330a4b01 (patch)
treef34d5bc8e0ce8c39b04a2f577d1ff8912b5b048b
parent9489a7eeeae753b144db0382423c432c0b4f960e (diff)
rapid-tunneling:
- Exit with error code if some command fails (e.g. file not a tar.gz) git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@6441 283159da-0705-0410-b60c-f2062b4bb6ad
-rwxr-xr-xrapid-tunneling2
1 files changed, 2 insertions, 0 deletions
diff --git a/rapid-tunneling b/rapid-tunneling
index 92bd7c7..4949447 100755
--- a/rapid-tunneling
+++ b/rapid-tunneling
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
if [ -z "$1" ]; then
echo "Usage: $0 <remote-access-file-name>" 1>&2
exit 1