From f9f5b0b199167d907a49c5f2975e6b70086796de Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 7 Nov 2021 15:46:02 -0500 Subject: feat(xanthous/server): Run with --disable-saving Don't write to my disk, please, random internet people. Change-Id: I1d199fc3675f6ec7630f598bbc33dc7ef7e02e68 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3809 Reviewed-by: grfn Tested-by: BuildkiteCI --- users/grfn/xanthous/server/src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'users/grfn/xanthous/server') diff --git a/users/grfn/xanthous/server/src/main.rs b/users/grfn/xanthous/server/src/main.rs index 8441a5db3752..b9f2cb4270b4 100644 --- a/users/grfn/xanthous/server/src/main.rs +++ b/users/grfn/xanthous/server/src/main.rs @@ -128,6 +128,7 @@ impl Handler { if let Some(username) = &self.username { cmd.args(["--name", username]); } + cmd.arg("--disable-saving"); let child = pty::spawn(cmd, Some(winsize), None).await?; info!(pid = %child.pid, "Spawned child"); -- cgit 1.4.1