mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-07 22:58:34 +02:00
Hooks
- Corrected check for trivial input.
This commit is contained in:
parent
d70c8eef5c
commit
9248f1569f
1 changed files with 2 additions and 1 deletions
|
@ -300,7 +300,8 @@ int Hooks::execute (
|
||||||
if (fp)
|
if (fp)
|
||||||
{
|
{
|
||||||
// Write input to fp.
|
// Write input to fp.
|
||||||
if (input != "")
|
if (input != "" &&
|
||||||
|
input != "\n")
|
||||||
{
|
{
|
||||||
fputs (input.c_str (), fp);
|
fputs (input.c_str (), fp);
|
||||||
fflush (fp);
|
fflush (fp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue