From: Silvio Rhatto Date: Sat, 26 May 2018 20:31:02 +0000 (-0300) Subject: Display thread name in the output for the continuous mode X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e5887df51b69bfe0b789d83736d5eaa36dd51c01;p=borger.git Display thread name in the output for the continuous mode --- diff --git a/borger b/borger index 792973c..b16e1eb 100755 --- a/borger +++ b/borger @@ -46,7 +46,7 @@ function borger_config { # and call borger for each config in parallel for config in `ls $CONFIG`; do info "Calling borger for $DESTINATION/$config..." - $FULLNAME $DESTINATION/$config $OPTION & + ( $FULLNAME $DESTINATION/$config $OPTION 2>&1 | sed -e "s/^\[borger\]/[borger] [$config]/" -e "s/^\([^\[]\)/[borger] [$config] \1/" ) & done # Since we dispatched everything to subprocesses,