Fix commandline slicing, only print the plugin result if there was an error.