Prevent zombie nodes being created from filesystem creation error

(if without the braces will run the command and output to stdout/stderr but test on the exit code [$?])