diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2014-02-25 13:32:29 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2014-02-25 13:32:29 +0000 |
commit | 0a66fb3151f332e31b33a6a72bc86933e5d4a1cd (patch) | |
tree | 7d8c4b45cd6b12ee3ef15409b54f2a8270ee9e1d /src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist | |
parent | 12e6e59c8d2448efe36120c23ae3968ec24322bc (diff) | |
download | VirtualBox-svn-0a66fb3151f332e31b33a6a72bc86933e5d4a1cd.tar.gz |
Installer/darwin: incorrect grep "simplification", caused a 100% false positive
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@50576 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist')
-rw-r--r-- | src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist b/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist index 576ae2f5446..544442a3cfd 100644 --- a/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist +++ b/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist @@ -73,7 +73,7 @@ { /* Embedded scripts are not available here. So, just do a command line checking for running VMs instead. */ - rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E \'V[i]rtualBox.*startvm|VBoxNetDHCP|VBoxNetNAT|VBoxHeadless|VBoxSVC\''); + rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E \'[V]irtualBox.*startvm|[V]BoxNetDHCP|[V]BoxNetNAT|[V]BoxHeadless|[V]BoxSVC\''); result = (rcScript != 0); system.log("system.run /bin/sh .. returned: " + rcScript + " result=" + result); } catch (e) { system.log(e); result = false; } |