Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix 2ff stderr-redirect - farbfeld - suckless image format with conversion tools
git clone git://git.suckless.org/farbfeld
Log
Files
Refs
README
LICENSE
---
commit b1868127e4102b2e073750c7f55fd445bee028be
parent 226d9136b89ac6f714ff5e9d67dea278f149bedd
Author: FRIGN <[email protected]>
Date: Tue, 5 Jan 2016 20:41:57 +0100
Fix 2ff stderr-redirect
Thanks izabera for spotting this!
Diffstat:
M 2ff | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/2ff b/2ff
@@ -12,13 +12,13 @@ FORMAT=$(file -ib $TMP | cut -d ";" -f 1);
case "$FORMAT" in
image/png) png2ff < $TMP; ret=$? ;;
image/jpeg) jpg2ff < $TMP; ret=$? ;;
- *) xconvert $TMP png:- 2&>/dev/null | png2ff 2&>/dev/null; ret=$? ;;
+ *) xconvert $TMP png:- 2>/dev/null | png2ff 2>/dev/null; ret=$? ;;
esac
rm $TMP;
if [ $ret -ne 0 ]; then
- printf "%s: failed to convert %s\n" "$0" "$FORMAT" 1>&2;
+ printf "%s: failed to convert %s\n" "$0" "$FORMAT" >&2;
fi
exit $ret;
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.