Actually, I think the "\n" is still necessary here. You have a "echo -n" before, so you need a new line before outputting an error.

Also, this should be prefixed with "ERROR:" like the other errors, for consistency.