VirtualBox

Changeset 50576 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Feb 25, 2014 1:32:29 PM (11 years ago)
Author:
vboxsync
Message:

Installer/darwin: incorrect grep "simplification", caused a 100% false positive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist

    r50574 r50576  
    7474           /* Embedded scripts are not available here. So, just do a command
    7575              line checking for running VMs instead. */
    76            rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E \'V[i]rtualBox.*startvm|VBoxNetDHCP|VBoxNetNAT|VBoxHeadless|VBoxSVC\'');
     76           rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E \'[V]irtualBox.*startvm|[V]BoxNetDHCP|[V]BoxNetNAT|[V]BoxHeadless|[V]BoxSVC\'');
    7777           result = (rcScript != 0);
    7878           system.log("system.run /bin/sh .. returned: " + rcScript + " result=" + result);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette