Changeset 83271 in vbox for trunk/src/VBox/Frontends/VBoxAutostart
- Timestamp:
- Mar 12, 2020 2:03:49 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136424
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostart-win.cpp
r82968 r83271 779 779 } 780 780 781 static intautostartStartVMs()781 static RTEXITCODE autostartStartVMs() 782 782 { 783 783 int rc = autostartSetup(); 784 if (RT_FAILURE(rc)) 785 return RTEXITCODE_FAILURE; 784 786 785 787 const char *pszConfigFile = RTEnvGet("VBOXAUTOSTART_CONFIG"); … … 865 867 } 866 868 867 rc = autostartStartMain(pCfgAstUser);869 RTEXITCODE ec = autostartStartMain(pCfgAstUser); 868 870 autostartConfigAstDestroy(pCfgAst); 869 if ( RT_FAILURE(rc))870 autostartSvcLogError("Starting VMs failed , rc=%Rrc\n", rc);871 872 return rc;871 if (ec != RTEXITCODE_SUCCESS) 872 autostartSvcLogError("Starting VMs failed\n"); 873 874 return ec; 873 875 } 874 876 … … 912 914 { 913 915 LogFlow(("autostartSvcWinServiceMain: calling autostartStartVMs\n")); 914 rc = autostartStartVMs();915 if ( RT_SUCCESS(rc))916 RTEXITCODE ec = autostartStartVMs(); 917 if (ec == RTEXITCODE_SUCCESS) 916 918 { 917 919 LogFlow(("autostartSvcWinServiceMain: done string VMs\n"));
Note:
See TracChangeset
for help on using the changeset viewer.