VirtualBox

Changeset 91170 in vbox


Ignore:
Timestamp:
Sep 8, 2021 7:21:10 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146824
Message:

VBoxManage: With SHOW_PROGRESS_NONE don't print "progress state" when
the async operation completes with an error. bugref:10065.

That's a bit ambiguously phrased too, as it's not the state of the
progress (object itself) that is being reported here, but the state of
the async operation progress this progress object is tracking. But
that's not the yak I want to shave.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r90234 r91170  
    389389        else
    390390        {
    391             if (!fDetailed)
    392                 RTStrmPrintf(g_pStdErr, "\n");
    393             RTStrmPrintf(g_pStdErr, "Progress state: %Rhrc\n", iRc);
     391            if (!fQuiet)
     392            {
     393                if (!fDetailed)
     394                    RTStrmPrintf(g_pStdErr, "\n");
     395                RTStrmPrintf(g_pStdErr, "Progress state: %Rhrc\n", iRc);
     396            }
    394397        }
    395398        hrc = iRc;
Note: See TracChangeset for help on using the changeset viewer.

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