diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-09-27 11:08:55 +0800 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-09-27 11:08:55 +0800 |
| commit | 76f072a786c84195bd04e65afd76ccc01da8b69b (patch) | |
| tree | bcc2c053cd60f9f5ddadadc9bbd1c08813ca284e /src | |
| parent | 11c2d6825b30d9fc575bba624d4bcae354b69a55 (diff) | |
Removing the local client due to SIGHUP is not graceful
That means we will now backup modified buffers if that client was
the last.
Should improve things for #1590
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index 3f88ad8d..c69c72a3 100644 --- a/src/main.cc +++ b/src/main.cc @@ -655,7 +655,7 @@ int run_server(StringView session, StringView server_init, if (sighup_raised) { - ClientManager::instance().remove_client(*local_client, true, 0); + ClientManager::instance().remove_client(*local_client, false, 0); if (not client_manager.empty() and fork_server_to_background()) return 0; sighup_raised = 0; |
