Redirect STDERR to STDOUT

This commit is contained in:
southerntofu 2020-04-29 21:49:30 +02:00
parent beb7a36d7a
commit 744b3708df
1 changed files with 1 additions and 1 deletions

View File

@ -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)