add more stack traces, other minor changes
[automated-distro-installer] / myfai-chboot-local
index f21a837dc5308790c45b263c3e69aaa3dd37006c..c990fdf39456b179549bab45ebe0d8e28f1f31f3 100755 (executable)
@@ -1,7 +1,6 @@
 #!/bin/bash
 
-set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
+x="$(readlink -f "$BASH_SOURCE")"; source "${x%/*}/bash-trace"
 
 fai_action_arg=I
 fai_reboot_arg=,reboot