summaryrefslogtreecommitdiffstats
path: root/zellij-client
diff options
context:
space:
mode:
authorDante Pippi <6619666+dantepippi@users.noreply.github.com>2021-06-17 21:21:39 -0300
committerDante Pippi <6619666+dantepippi@users.noreply.github.com>2021-06-17 21:21:39 -0300
commit18adbcc1b1abc0b8999d9b7190b148685be19d77 (patch)
treed4ac7981ebb93ef49dfe1e0cf2f07adef0f244a4 /zellij-client
parenta71b9669415e137068d64634231fdcbd69692af8 (diff)
Detach session on a forced close (handlign SIGTERM and other signals)
Diffstat (limited to 'zellij-client')
-rw-r--r--zellij-client/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-client/src/lib.rs b/zellij-client/src/lib.rs
index 83121b678..3e7ed7ab1 100644
--- a/zellij-client/src/lib.rs
+++ b/zellij-client/src/lib.rs
@@ -213,7 +213,7 @@ pub fn start_client(
let send_client_instructions = send_client_instructions.clone();
move || {
send_client_instructions
- .send(ClientInstruction::Exit(ExitReason::Normal))
+ .send(ClientInstruction::Exit(ExitReason::ForceDetached))
.unwrap()
}
}),