0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-04 21:08:57 +01:00

modules/console: Fix conditions for done/pipe flag in output.

This commit is contained in:
Jason Volk 2019-09-12 20:02:19 -07:00
parent 5c895ab65f
commit 1bba6f12a6

View file

@ -5067,7 +5067,9 @@ try
else
out << std::setw(4) << "CNCL" << " ";
if(request.tag && request.tag->committed())
if(request.tag && request.tag->committed() && bool(request.tag->state.status))
out << std::setw(4) << "DONE" << " ";
else if(request.tag && request.tag->committed())
out << std::setw(4) << "PIPE" << " ";
else if(!request.tag)
out << std::setw(4) << "----" << " ";