From 465657d67b189d6ac1750589ce0c0437a4a44493 Mon Sep 17 00:00:00 2001 From: Oleg Davydov Date: Mon, 6 Oct 2014 02:08:28 +0400 Subject: [PATCH] safe_quit on ^D --- interface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/interface.c b/interface.c index 4593ac0..4ebfefa 100644 --- a/interface.c +++ b/interface.c @@ -1833,6 +1833,7 @@ void interpreter_ex (char *line UU, void *ex) { offline_mode = 0; count = 1; if (!line) { + do_safe_quit (0, NULL, NULL); in_readline = 0; return; }