That's a good point. To be honest I was a bit lazy and just copied this (something) || echo fail && exit construct from some other places in the test script. Brackets would help clarity in all places used, although it seems to work correctly due to && having a higher precedence than ||.