diff options
Diffstat (limited to 'notmuch-new.c')
-rw-r--r-- | notmuch-new.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/notmuch-new.c b/notmuch-new.c index f58a384..9d20616 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -35,8 +35,10 @@ static volatile sig_atomic_t interrupted; static void handle_sigint (unused (int sig)) { + ssize_t ignored; static char msg[] = "Stopping... \n"; - write(2, msg, sizeof(msg)-1); + + ignored = write(2, msg, sizeof(msg)-1); interrupted = 1; } |