mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW #2047: Exiting the task editor with an error code doesn't remove the lock file
- Thanks to coaxial
This commit is contained in:
parent
96f9c3ef45
commit
1c4647708a
3 changed files with 4 additions and 0 deletions
1
AUTHORS
1
AUTHORS
|
@ -331,3 +331,4 @@ suggestions:
|
||||||
Martin F. Krafft
|
Martin F. Krafft
|
||||||
tom-doerr
|
tom-doerr
|
||||||
ad-si
|
ad-si
|
||||||
|
coaxial
|
||||||
|
|
|
@ -99,6 +99,8 @@
|
||||||
Thanks to Janik Rabe
|
Thanks to Janik Rabe
|
||||||
- TW #2020 reserved.lines is not affecting the burndown height
|
- TW #2020 reserved.lines is not affecting the burndown height
|
||||||
Thanks to ad₋si
|
Thanks to ad₋si
|
||||||
|
- TW #2047 Exiting the task editor with an error code doesn't remove the lock file
|
||||||
|
Thanks to coaxial
|
||||||
- TW #2051 doc/man: ready tasks sorted with started tasks 1st
|
- TW #2051 doc/man: ready tasks sorted with started tasks 1st
|
||||||
Thanks to Simon Désaulniers
|
Thanks to Simon Désaulniers
|
||||||
- TW #2053 Do not set CMP0037 on CMake 3.11.0 and above
|
- TW #2053 Do not set CMP0037 on CMake 3.11.0 and above
|
||||||
|
|
|
@ -781,6 +781,7 @@ ARE_THESE_REALLY_HARMFUL:
|
||||||
std::cout << format ("Editing failed with exit code {1}.\n", exitcode);
|
std::cout << format ("Editing failed with exit code {1}.\n", exitcode);
|
||||||
if (-1 == exitcode)
|
if (-1 == exitcode)
|
||||||
std::cout << std::strerror (captured_errno) << '\n';
|
std::cout << std::strerror (captured_errno) << '\n';
|
||||||
|
File::remove (file.str ());
|
||||||
return CmdEdit::editResult::error;
|
return CmdEdit::editResult::error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue