From 113ea01147f7a30f2da81e1d21c2b29242d4e16e Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Thu, 21 May 2026 20:47:11 +0200 Subject: [PATCH] fix: cleanup prune command --- p/src/commands/prune.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/p/src/commands/prune.rs b/p/src/commands/prune.rs index 11fbc3d..d7a364e 100644 --- a/p/src/commands/prune.rs +++ b/p/src/commands/prune.rs @@ -33,13 +33,7 @@ pub fn execute(force: bool, dry_run: bool) -> Result<()> { let mut errors = 0; for job in &to_prune { - let remote_rm = format!( - "rm -rf {}/.p/jobs/{id} {}/.p/workdirs/{id}", - // use the worker's home via SSH expansion - "~", - "~", - id = job.id - ); + let remote_rm = format!("rm -rf ~/.p/jobs/{id} ~/.p/workdirs/{id}", id = job.id); println!( " {} {} ({})",