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
add more stack traces, other minor changes
[automated-distro-installer]
/
fai
/
config
/
files
/
boot
/
chboot
/
DEFAULT
diff --git
a/fai/config/files/boot/chboot/DEFAULT
b/fai/config/files/boot/chboot/DEFAULT
index a7b450a4793a357955082e73ec459c4b3fc083c9..8a093d9e32287de91e36266bd87bcb65fae7fc3f 100755
(executable)
--- a/
fai/config/files/boot/chboot/DEFAULT
+++ b/
fai/config/files/boot/chboot/DEFAULT
@@
-16,8
+16,7
@@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
+x="$(readlink -f "$BASH_SOURCE")"; source "${x%/*}/bash-trace"
[[ $EUID == 0 ]] || exec sudo "$BASH_SOURCE" "$@"
[[ $EUID == 0 ]] || exec sudo "$BASH_SOURCE" "$@"