- Timestamp:
- May 9, 2012 8:51:22 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestCtrlImplDir.cpp
r40685 r41222 134 134 { 135 135 hr = setErrorFromProgress(pProgress); 136 if (SUCCEEDED(hr)) 137 { 138 VBOXGUESTCTRL_PROCESS proc; 139 int rc = processGetStatus(uPID, &proc, 140 true /* Remove when terminated */); 141 if (RT_SUCCESS(rc)) 142 { 143 if ( proc.mStatus != ExecuteProcessStatus_TerminatedNormally 144 || proc.mExitCode != 0) 145 { 146 hr = setErrorNoLog(VBOX_E_IPRT_ERROR, 147 tr("Could not create directory \"%s\""), Utf8Str(aDirectory).c_str()); 148 } 149 } 150 else 151 hr = setErrorNoLog(VBOX_E_IPRT_ERROR, 152 tr("Unable to retrieve status for creating directory \"%s\""), 153 Utf8Str(aDirectory).c_str()); 154 } 136 155 pProgress.setNull(); 137 156 }
Note:
See TracChangeset
for help on using the changeset viewer.