mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug
- Fixed bug that caused the 'done' command to always exit with a non-zero status (thanks to Steve Rader).
This commit is contained in:
parent
914626e2b2
commit
1d8a60a9ba
3 changed files with 5 additions and 1 deletions
|
@ -1864,12 +1864,14 @@ int handleDone (std::string& outs)
|
|||
nagged = nag (*task);
|
||||
}
|
||||
else
|
||||
{
|
||||
out << "Task "
|
||||
<< task->id
|
||||
<< " '"
|
||||
<< task->get ("description")
|
||||
<< "' is neither pending nor waiting.\n";
|
||||
rc = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (count)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue