VBOX: Always report the completion message.

This commit is contained in:
Rom Walton 2014-09-24 13:34:22 -04:00
parent e1da8323bd
commit e5a4f0345d
1 changed files with 3 additions and 2 deletions

View File

@ -1084,14 +1084,15 @@ int main(int argc, char** argv) {
vboxwrapper_msg_prefix(buf, sizeof(buf))
);
read_completion_file_info(vm_exit_code, is_notice, message, vm);
if (!is_notice && message.size()) {
if (message.size()) {
fprintf(
stderr,
"%s VM Completion Message: %s.\n",
vboxwrapper_msg_prefix(buf, sizeof(buf)),
message.c_str()
);
} else if (is_notice && message.size()) {
}
if (is_notice) {
boinc_finish_message(vm_exit_code, message.c_str(), is_notice);
} else {
boinc_finish(vm_exit_code);