mirror of https://github.com/wb2osz/direwolf.git
busybox's sh-implementation is differnt from the normal sh: In busybox-expr an empty string does not evaluate to int(0). Calling `expr ($SEQ +1)` with `SEQ=""` fails. This patch works around this behavior by making sure the file exists. I left the pipe for stderr around the `cat` in place to make sure I do not break any other error cases. Signed-off-by: Chris Fiege <chris@tinyhost.de> |
||
---|---|---|
.. | ||
telem-balloon.conf | ||
telem-balloon.pl | ||
telem-bits.pl | ||
telem-data.pl | ||
telem-data91.pl | ||
telem-eqns.pl | ||
telem-m0xer-3.txt | ||
telem-parm.pl | ||
telem-seq.sh | ||
telem-unit.pl | ||
telem-volts.conf | ||
telem-volts.py |