VirtualBox

Changeset 39069 in vbox


Ignore:
Timestamp:
Oct 21, 2011 9:39:43 AM (13 years ago)
Author:
vboxsync
Message:

VBoxServiceToolBox.cpp: cat should fail on output error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceToolBox.cpp

    r38636 r39069  
    255255            {
    256256                rc = RTFileWrite(hOutput, abBuf, cbRead, NULL /* Try to write all at once! */);
    257                 cbRead = 0;
     257                if (RT_FAILURE(rc))
     258                {
     259                    RTMsgError("Error while writing output, rc=%Rrc\n", rc);
     260                    break;
     261                }
    258262            }
    259263            else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette