From 3676b36f2069f34c18b6e35deaa2e6b22825328b Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 18 Nov 2010 21:18:15 +0000 Subject: [PATCH] Quick Updates svn path=/trunk/boinc/; revision=22716 --- client/hostinfo_unix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/hostinfo_unix.cpp b/client/hostinfo_unix.cpp index 6e03a62409..1f6c3a090f 100644 --- a/client/hostinfo_unix.cpp +++ b/client/hostinfo_unix.cpp @@ -1104,7 +1104,7 @@ int HOST_INFO::get_virtualbox_version() { FILE* fd; #if LINUX_LIKE_SYSTEM - strcpy(path, "/usr/lib/virtualbox"); + strcpy(path, "/usr/lib/virtualbox/VBoxManage"); #elif defined( __APPLE__) FSRef theFSRef; OSStatus status = noErr; @@ -1125,7 +1125,7 @@ int HOST_INFO::get_virtualbox_version() { if (boinc_file_exists(path)) { #if LINUX_LIKE_SYSTEM safe_strcpy(cmd, path); - safe_strcat(cmd, "/VBoxManager --version "); + safe_strcat(cmd, " --version"); #elif defined( __APPLE__) safe_strcpy(cmd, "defaults read "); safe_strcat(cmd, path);