Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4576c753 authored by Reinhard Lenninger's avatar Reinhard Lenninger
Browse files

pngcrush: don't print out an error on mv if optimizing fails

pngcrush is currently storing the optimized png in <pngname>.out.
If optimizing the png fails, e.g. on palette errors, mv can't
overwrite the original file with the nonexisting .out file and prints
out an error like this:

mv: cannot stat `./foo/bar/baz.png.out': No such file or directory

Writing stderr to /dev/null will suppress that message.

Change-Id: I0b7339392545e98586d66cc8ff8abf52c443f66f
parent ba1ca330
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment