Escape semicolon in command arguments

For some reason, having an unescaped semicolon causes
weird issues with Nagios and has to be escaped.