diff --git a/justfile b/justfile
index 93388d222c625e97a53c498c7fe0420953aaa3ab..3d99501233ba906a89a4a41b9f0879514ff86a16 100644
--- a/justfile
+++ b/justfile
@@ -26,9 +26,9 @@ build-debug:
 
 clean:
     cargo clean
-    rm serialbridge.{{ext}}
-    rm functions.pdf
-    rm documentation.pdf
+    rm -f serialbridge.{{ext}}
+    rm -f functions.pdf
+    rm -f documentation.pdf
 
 docs:
     typst watch {{source}} {{dest}} --open