diff options
author | Joerg Jaspert <joerg@debian.org> | 2009-06-22 00:46:22 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2009-06-22 00:46:22 +0200 |
commit | 0c0529ba42e7b23afae1006b01d46e0a8fa09913 (patch) | |
tree | 5a6701cc1ec885642ecc037f042c0dc41360f4f8 /bin/ftpsync | |
parent | 4638379b0668227b3ba5b5918971032a62170995 (diff) |
errtrap
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-x | bin/ftpsync | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index cdad637..1572feb 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -3,6 +3,10 @@ set -e set -u +# ERR traps should be inherited from functions too. (And command +# substitutions and subshells and whatnot, but for us the function is +# the important part here) +set -E # ftpsync script for Debian # Based losely on a number of existing scripts, written by an |