On Thu, Mar 28, 2013 at 8:35 AM, Richard Heck <rgh...@lyx.org> wrote: > On 03/28/2013 03:19 AM, Scott Kostyshak wrote: >> >> See attached patch. >> >> Before, 'lyx -e pdf2' would give no error and would exit with 0. A use >> case is if a user has in a bash script the following command: >> >> lyx -e pdf2 "${mylxyfile}" || exit 1 >> >> where 'lyx' is mispelled as 'lxy' and thus yields an empty >> string. If LyX does not exit with an error, the script continues where >> the user probably intends for it to stop. >> >> Can it go in? > > Looks right.
It's in at 6df4a7bb. Thanks, Scott