Skip to content

Commit

Permalink
Removed optipng output from the log
Browse files Browse the repository at this point in the history
  • Loading branch information
mneri committed Jan 31, 2021
1 parent ffd242d commit 87d3609
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pnglatex
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,7 @@ function match {
#
# @return echoes optipng output.
function optimize {
if [ "$LOGFILE" ]; then
optipng -f0-5 -zc1-9 -zm1-9 -zs0-3 $PNGFILE >> $LOGFILE 2>&1
else
optipng -f0-5 -quiet -zc1-9 -zm1-9 -zs0-3 $PNGFILE
fi
optipng -f0-5 -quiet -zc1-9 -zm1-9 -zs0-3 $PNGFILE
}

# Parse command line arguments.
Expand Down

0 comments on commit 87d3609

Please sign in to comment.