Changeset 38625 in vbox
- Timestamp:
- Sep 5, 2011 8:50:00 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 73832
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceToolBox.cpp
r38015 r38625 608 608 if (RT_FAILURE(rc)) 609 609 { 610 RTMsgError("Failed to retrieve absolute path of '%s', rc=%Rrc\n", pszDir, rc); 610 if (!(uOutputFlags & VBOXSERVICETOOLBOXOUTPUTFLAG_PARSEABLE)) 611 RTMsgError("Failed to retrieve absolute path of '%s', rc=%Rrc\n", pszDir, rc); 611 612 return rc; 612 613 } … … 616 617 if (RT_FAILURE(rc)) 617 618 { 618 RTMsgError("Failed to open directory '%s', rc=%Rrc\n", szPathAbs, rc); 619 if (!(uOutputFlags & VBOXSERVICETOOLBOXOUTPUTFLAG_PARSEABLE)) 620 RTMsgError("Failed to open directory '%s', rc=%Rrc\n", szPathAbs, rc); 619 621 return rc; 620 622 } … … 650 652 if (RT_FAILURE(rc2)) 651 653 { 652 RTMsgError("Failed to close dir '%s', rc=%Rrc\n", 653 pszDir, rc2); 654 if (!(uOutputFlags & VBOXSERVICETOOLBOXOUTPUTFLAG_PARSEABLE)) 655 RTMsgError("Failed to close dir '%s', rc=%Rrc\n", 656 pszDir, rc2); 654 657 if (RT_SUCCESS(rc)) 655 658 rc = rc2; … … 838 841 if (RT_FAILURE(rc2)) 839 842 { 840 RTMsgError("Cannot access '%s': No such file or directory\n", 841 pNodeIt->pszName); 843 if (!(fOutputFlags & VBOXSERVICETOOLBOXOUTPUTFLAG_PARSEABLE)) 844 RTMsgError("Cannot access '%s': No such file or directory\n", 845 pNodeIt->pszName); 842 846 rc = VERR_FILE_NOT_FOUND; 843 847 /* Do not break here -- process every element in the list … … 1070 1074 if (RT_FAILURE(rc2)) 1071 1075 { 1072 RTMsgError("Cannot stat for '%s': No such file or directory\n", 1073 pNodeIt->pszName); 1076 if (!(fOutputFlags & VBOXSERVICETOOLBOXOUTPUTFLAG_PARSEABLE)) 1077 RTMsgError("Cannot stat for '%s': No such file or directory\n", 1078 pNodeIt->pszName); 1074 1079 rc = VERR_FILE_NOT_FOUND; 1075 1080 /* Do not break here -- process every element in the list
Note:
See TracChangeset
for help on using the changeset viewer.