Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gpui: Send correct kill signal on Linux (#16797)

Walter de Jong14f8d3a33a5d
diff --git a/crates/gpui/src/platform/linux/platform.rs b/crates/gpui/src/platform/linux/platform.rs
index 3d7f8c2adc3..0aa17e534ab 100644
--- a/crates/gpui/src/platform/linux/platform.rs
+++ b/crates/gpui/src/platform/linux/platform.rs
@@ -184,7 +184,7 @@ impl<P: LinuxClient + 'static> Platform for P {
// cleaned up when `kill -0` returns.
let script = format!(
r#"
- while kill -O {pid} 2>/dev/null; do
+ while kill -0 {pid} 2>/dev/null; do
sleep 0.1
done