Skip to content

Commit

Permalink
test loggong
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Nov 12, 2023
1 parent f31be8c commit 5d414cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion installation/install-jukebox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ checkPrerequisite

### RUN INSTALLATION
INSTALLATION_LOGFILE="${HOME_PATH}/INSTALL-${INSTALL_ID}.log"
exec 3>&1 1>>"${INSTALLATION_LOGFILE}" 2>&1 || { echo "Cannot create log file. Panic."; exit 1; }
if [ "$DOCKER_RUNNING" == "true" ]; then
exec 3>&1 2>&1
else
exec 3>&1 1>>"${INSTALLATION_LOGFILE}" 2>&1 || { echo "Cannot create log file. Panic."; exit 1; }
fi
echo "Log start: ${INSTALL_ID}"

clear 1>&3
Expand Down

0 comments on commit 5d414cb

Please sign in to comment.