From 744b3708dff44e07d18a0bbf27ac7f02c448b021 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Wed, 29 Apr 2020 21:49:30 +0200 Subject: [PATCH] Redirect STDERR to STDOUT --- git-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-build.sh b/git-build.sh index fa0304f..7473a65 100755 --- a/git-build.sh +++ b/git-build.sh @@ -69,7 +69,7 @@ run() { p_name="$1" i18n_task="$p_name" info run # Run in background and redirect output to $p_name.log - (GITBUILDCONF="$CONFDIR" GITBUILDDIR="$BASEDIR" nohup $BASEDIR/$p_name $p_name > $BASEDIR/$p_name.log 2> $BASEDIR/$p_name.err) & + (GITBUILDCONF="$CONFDIR" GITBUILDDIR="$BASEDIR" nohup $BASEDIR/$p_name $p_name > $BASEDIR/$p_name.log 2>&1) & } # So scripts can know we're still running (for autoupdater)