From 1901b2bc7e71fc9e589b732d4bdf27cada32fb28 Mon Sep 17 00:00:00 2001 From: Rom Walton <rwalton@ssl.berkeley.edu> Date: Fri, 20 Mar 2015 09:58:37 -0400 Subject: [PATCH] VBOX: Same with the temporary exit trigger file --- samples/vboxwrapper/vboxwrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp index 6911b04935..69c16adec0 100644 --- a/samples/vboxwrapper/vboxwrapper.cpp +++ b/samples/vboxwrapper/vboxwrapper.cpp @@ -151,7 +151,7 @@ void read_completion_file_info(unsigned long& exit_code, bool& is_notice, string bool temporary_exit_file_exists(VBOX_VM& vm) { char path[MAXPATHLEN]; sprintf(path, "shared/%s", vm.temporary_exit_trigger_file.c_str()); - if (boinc_file_exists(path)) return true; + if (vm.temporary_exit_trigger_file.size() && boinc_file_exists(path)) return true; return false; } -- GitLab