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]
/
fai-redep
diff --git
a/fai-redep
b/fai-redep
index 6a47fafc7cd1d83044d9ac3e85fe8da8eeee2048..cd0888737541a0d475d7de19df177b193ee3fbf2 100755
(executable)
--- a/
fai-redep
+++ b/
fai-redep
@@
-5,7
+5,7
@@
set -x
# then start a virtual machine to test the config.
set -eE -o pipefail
# then start a virtual machine to test the config.
set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR
+trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"
>&2
' ERR
cd $(dirname $(readlink -f "$BASH_SOURCE"))
cd $(dirname $(readlink -f "$BASH_SOURCE"))