not rm rf whatever

This commit is contained in:
2026-08-19 10:46:49 +01:00
parent c0cf0d8495
commit 6bedac526f
+1 -1
View File
@@ -16,7 +16,7 @@ tasks:
desc: Sync binary to server
deps: [build]
cmds:
- ssh -q {{.HOST}} "rm -rf {{.HAGFISK_DIR}}/hagfisk"
- ssh -q {{.HOST}} "rm -f {{.HAGFISK_DIR}}/hagfisk"
- echo "Syncing binary to remote..."
- rsync -avz --progress ./target/release/hagfisk {{.HOST}}:{{.HAGFISK_DIR}}/hagfisk
- echo "Restoring SELinux contexts..."