From ebc7b343be24ba7982c714b7ccb92799a283d63d Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Fri, 29 Jan 2021 17:13:00 +0200 Subject: [PATCH] scripts: reloader: Unset LOG_PREFIX when testing the sourcing --- scripts/reloader.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/reloader.bash b/scripts/reloader.bash index 28ef8543..87f9ef0c 100644 --- a/scripts/reloader.bash +++ b/scripts/reloader.bash @@ -23,8 +23,10 @@ _bash-it-load-sources() { _log_debug "Loading component..." output=$( set -e + BASH_IT_LOG_PREFIX="" # shellcheck disable=SC1090 (source "$current") 2>&1 + BASH_IT_LOG_PREFIX="$extension: $filename: " ) retval=$? set +e