Skip to content

Commit

Permalink
fixed display and logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclingzealot committed Oct 18, 2016
1 parent 23c5a35 commit 2d25d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.bash
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ trap "rm -f $pidfile" INT QUIT TERM ERR

#Capture everything to log
mkdir -p ~/log
log=~/log/$__base-${ts}.log
log=~/log/dumuzid-${ts}.log
exec > >(tee -a $log)
exec 2> >(tee -a $log >&2)
touch $log
Expand All @@ -87,7 +87,7 @@ if [[ ! -f "$configFile" ]] ; then
exit 1
fi

export DISPLAY=:0
export DISPLAY=`cat ~/dumuzid/main.bash`

echo Begin `date` .....

Expand Down

0 comments on commit 2d25d62

Please sign in to comment.