Skip to content

Commit

Permalink
VBOX: Make sure we are processing the vm log file, even if it is not …
Browse files Browse the repository at this point in the history
…online.
  • Loading branch information
romw committed Oct 16, 2015
1 parent d0fb1e6 commit 2f1bce3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions samples/vboxwrapper/vbox_mscom_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1344,9 +1344,7 @@ int VBOX_VM::poll(bool log_state) {
// Grab a snapshot of the latest log file. Avoids multiple queries across several
// functions.
//
if (online) {
get_vm_log(vm_log);
}
get_vm_log(vm_log);

//
// Dump any new VM Guest Log entries
Expand Down
4 changes: 1 addition & 3 deletions samples/vboxwrapper/vbox_vboxmanage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -984,9 +984,7 @@ int VBOX_VM::poll(bool log_state) {
// Grab a snapshot of the latest log file. Avoids multiple queries across several
// functions.
//
if (online) {
get_vm_log(vm_log);
}
get_vm_log(vm_log);

//
// Dump any new VM Guest Log entries
Expand Down

0 comments on commit 2f1bce3

Please sign in to comment.