iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better error output
[automated-distro-installer]
/
wrt-setup
diff --git
a/wrt-setup
b/wrt-setup
index 0c9fb29d5dce9c86b76551894d6808ad09c14fe6..2362a3313a3f8b36a5f56f373b398cb219c62aa7 100755
(executable)
--- a/
wrt-setup
+++ b/
wrt-setup
@@
-1,7
+1,7
@@
#!/bin/bash
set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR
+trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"
>&2
' ERR
# ssh