Skip to content

Commit

Permalink
Updates from v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Jan 28, 2023
1 parent 460dfc8 commit 89bc45e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/harbour-storeman-installer
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ exec <&- # Close StdIN
exec >> "$logfile" # Redirect StdOUT, appendingly
exec 2>&1 # Map StdERR to (redirected) StdOUT

umask 7113 # The first octal digit is ignored by most implementations
umask 113
[ "$PWD" = / ] || cd / # Set PWD to /, if not already

# Prefix first output with three linebreaks, if logfile size > 0
# Prefix first output with one plus two linebreaks, if logfile size > 0
linebreaks=""
if [ -s "$logfile" ]
then linebreaks="\n\n------------------------------------------------------------------------------------------------------------\n\n\n"
then linebreaks="\n-------------------------------------\n\n"
fi

# Write first entry to logfile:
Expand Down

0 comments on commit 89bc45e

Please sign in to comment.