- Timestamp:
- Sep 22, 2009 4:16:13 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 52698
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceExec.cpp
r22863 r23227 429 429 } 430 430 431 /* 432 * Only continue polling if the guest property value is empty/missing 433 * or if the sysprep command is missing. 434 */ 435 if ( rc != VERR_NOT_FOUND 436 && rc != VERR_FILE_NOT_FOUND) 431 if (RT_FAILURE(rc)) 437 432 { 438 VBoxServiceVerbose(1, "Exec: Stopping sysprep processing (rc=%Rrc)\n", rc); 439 rc = VbglR3GuestPropWriteValueF(g_uExecGuestPropSvcClientID, "/VirtualBox/HostGuest/SysprepVBoxRC", "%d", rc); 440 if (RT_FAILURE(rc)) 441 VBoxServiceError("Exec: Failed to write SysprepVBoxRC: rc=%Rrc\n", rc); 442 fSysprepDone = true; 433 /* 434 * Only continue polling if the guest property value is empty/missing 435 * or if the sysprep command is missing. 436 */ 437 if ( rc != VERR_NOT_FOUND 438 && rc != VERR_FILE_NOT_FOUND) 439 { 440 VBoxServiceVerbose(1, "Exec: Stopping sysprep processing (rc=%Rrc)\n", rc); 441 fSysprepDone = true; 442 } 443 444 /* Let the host know what went wrong (but only if we got a value) */ 445 if (rc != VERR_NOT_FOUND) 446 { 447 rc = VbglR3GuestPropWriteValueF(g_uExecGuestPropSvcClientID, "/VirtualBox/HostGuest/SysprepVBoxRC", "%d", rc); 448 if (RT_FAILURE(rc)) 449 VBoxServiceError("Exec: Failed to write SysprepVBoxRC: rc=%Rrc\n", rc); 450 } 443 451 } 444 452 }
Note:
See TracChangeset
for help on using the changeset viewer.