- Corrected check for trivial input.
This commit is contained in:
Paul Beckingham 2014-05-14 22:47:12 -04:00
parent d70c8eef5c
commit 9248f1569f

View file

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