Subject: Re: bug#9574: data-loss with --batch: ignored write failure

From: Glenn Morris <[email-masked]>
Date: Fri, 23 Sep 2011 14:30:06 -0400

Andreas Schwab wrote:

> Fixed.

Not the --version part, FWIW.

./src/emacs -Q --version > /dev/full ; echo $?
0

./src/emacs -Q --help > /dev/full ; echo $?
0

cf

ls --version > /dev/full ; echo $?
ls: write error: No space left on device
2

Also:
./src/emacs -Q --batch --eval '(print "important")' > /dev/full

does indeed now return status 1, but no error message.