reduce output when no change happend
This commit is contained in:
parent
626f0eb5c3
commit
9cfa3dfce4
1 changed files with 2 additions and 3 deletions
|
@ -110,13 +110,12 @@ get_statistics_and_delete_temp_files()
|
|||
echo " saved: ${png_savings_size} bytes, total saved: $((${total_savings_size}/1024)) KiB"
|
||||
else
|
||||
rm -f ${1}.new
|
||||
echo " already optimized"
|
||||
#no need to mention it when nothing actually changed...
|
||||
#echo " already optimized"
|
||||
fi
|
||||
else
|
||||
echo "ERROR: temporary file ${1}.new disappeared mysteriously"
|
||||
fi
|
||||
|
||||
echo -ne "\n"
|
||||
}
|
||||
|
||||
print_statistics()
|
||||
|
|
Loading…
Add table
Reference in a new issue