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]
/
arch-init-remote
diff --git
a/arch-init-remote
b/arch-init-remote
index c82cd70838b053312f860bc826343a3991028479..3cf222cc77f4d1a2ad0bdeed4e038b5e1d6eb748 100755
(executable)
--- a/
arch-init-remote
+++ b/
arch-init-remote
@@
-3,7
+3,7
@@
set -x
set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR
+trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"
>&2
' ERR
if [[ ! $1 ]]; then
echo "error: expect a hostname in \$1 "