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:
parent
5c895ab65f
commit
1bba6f12a6
1 changed files with 3 additions and 1 deletions
|
@ -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) << "----" << " ";
|
||||
|
|
Loading…
Reference in a new issue