From 09769ef77604bb5998e6a796fea595117173d144 Mon Sep 17 00:00:00 2001 From: Blondel MONDESIR Date: Thu, 11 Jan 2024 20:17:10 -0500 Subject: [PATCH] Redirect to STDOUT instead of STDERR explicitly: scripts/lb-wrapper --- scripts/lb-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lb-wrapper b/scripts/lb-wrapper index 87efdb9ea..19526252d 100755 --- a/scripts/lb-wrapper +++ b/scripts/lb-wrapper @@ -61,7 +61,7 @@ log "Info" "Running xklb commands: ${XKLB_FULL_CMD}" # 1>&2 redirect back-to-STDERR explained at https://stackoverflow.com/a/15936384 eval "${XKLB_FULL_CMD}" \ > >(while read -r line; do log "Info" "$line"; done) \ - 2> >(while read -r line; do log "Warning" "$line" 1>&2; done) & + 2> >(while read -r line; do log "Warning" "$line"; done) & pid=$! # Wait for background process to complete