Changeset 42386 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 25, 2012 11:53:18 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostart.cpp
r42384 r42386 51 51 #include <iprt/time.h> 52 52 #include <iprt/ctype.h> 53 53 #include <iprt/dir.h> 54 54 55 55 #include <algorithm> … … 882 882 return RTMsgErrorExit(RTEXITCODE_FAILURE, "User is not allowed to autostart VMs"); 883 883 884 /* Don't start if the VirtualBox settings directory does not exist. */ 885 char szUserHomeDir[RTPATH_MAX]; 886 rc = com::GetVBoxUserHomeDirectory(szUserHomeDir, sizeof(szUserHomeDir), false /* fCreateDir */); 887 if (RT_FAILURE(rc)) 888 return RTMsgErrorExit(RTEXITCODE_FAILURE, "could not get base directory: %Rrc", rc); 889 else if (!RTDirExists(szUserHomeDir)) 890 return RTEXITCODE_SUCCESS; 891 884 892 /* create release logger, to stdout */ 885 893 char szError[RTPATH_MAX + 128];
Note:
See TracChangeset
for help on using the changeset viewer.