commit | 4576c753b528e1a4d11a15dd5baa329400085023 | [log] [tgz] |
---|---|---|
author | Reinhard Lenninger <reinhard.lenninger@gmail.com> | Sun Aug 26 22:47:49 2012 +0200 |
committer | Reinhard Lenninger <reinhard.lenninger@gmail.com> | Sun Aug 26 22:47:49 2012 +0200 |
tree | e7333f3f950fa94963f288efc6454a58161934a7 | |
parent | ba1ca3309ae68608ef4183301084b5f14d27ee1b [diff] |
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