The latter are more explicit and easier to understand at the call site. Also removed the redundant crash checks via the log files.
See script directory for method. The script to run in the top level MaxScale directory is called maxscale-uncrustify.sh, which uses another script, list-src, from the same directory (so you need to set your PATH). The uncrustify version was 0.66.
Added a test case that verifies the bug is fixed.