mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Return report exit code.
Continues to throw an exception and to return 255 if no output is produced. Signed-off-by: Los Patchos <44246129+lospatchos@users.noreply.github.com>
This commit is contained in:
parent
cbf87fc42e
commit
74a3d94f12
2 changed files with 4 additions and 1 deletions
|
@ -127,7 +127,7 @@ int CmdReport (
|
|||
for (auto& line : output)
|
||||
std::cout << line << '\n';
|
||||
|
||||
return 0;
|
||||
return rc;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue