about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-11-07T20·46-0500
committergrfn <grfn@gws.fyi>2021-11-07T21·05+0000
commitf9f5b0b199167d907a49c5f2975e6b70086796de (patch)
tree76c21f41d07315cc650cbd6aa789af86f12cbe21
parent9577d97a8f351e6dc1057c7ec9f7c825f6e9a020 (diff)
feat(xanthous/server): Run with --disable-saving r/3018
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 <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/grfn/xanthous/server/src/main.rs1
1 files changed, 1 insertions, 0 deletions
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");