From fad18aa49186b0adcaebe4c845ef6344405d3865 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 27 Mar 2024 01:37:34 -0700 Subject: [PATCH] vboxwrapper: fix bug that caused VB version detection to fail --- samples/vboxwrapper/vbox_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/vboxwrapper/vbox_common.cpp b/samples/vboxwrapper/vbox_common.cpp index c155f11fe01..e63e910271d 100644 --- a/samples/vboxwrapper/vbox_common.cpp +++ b/samples/vboxwrapper/vbox_common.cpp @@ -1350,7 +1350,7 @@ int VBOX_BASE::vbm_popen_raw( // Close stream pclose(fp); - if (output.find("VBoxManage: not found")) { + if (output.find("VBoxManage: not found") != string::npos) { return ERR_NOT_FOUND; }