Comment 24 for bug 678421

Revision history for this message
Martin Pitt (pitti) wrote :

Gunnar,

Running it through "sh -n" is definitively a good way how to test a shell script. It of course will miss a lot of errors (variable typos, failing programs in a set -e script, etc.), but it at least will catch obvious syntax errors. So ignoring faulty scripts and showing some error message (in ~/.xsession-errors or even a dialog) seems appropriate to me.

Thanks for working on this! I'll review the MP now.