mostly fixes for new error handling
[distro-setup] / demohost-mount
index 706a516540d6d9f4b39946fb195229d4c08463b3..90d2b42497cedfa56e7420e8a74a235c49a7935e 100755 (executable)
@@ -1,7 +1,5 @@
-#!/bin/bash -l
-set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
-
+#!/bin/bash
+if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi
 
 [[ $EUID == 0 ]] || exec sudo -E "${BASH_SOURCE[0]}" "$@"