- Fixed bug that caused the 'done' command to always exit with a non-zero
  status (thanks to Steve Rader).
This commit is contained in:
Paul Beckingham 2011-01-09 21:25:09 -05:00
parent 914626e2b2
commit 1d8a60a9ba
3 changed files with 5 additions and 1 deletions

View file

@ -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)