diff --git a/Makefile b/Makefile
index d6165414ca2391bc26817af440fffe86f181147a..69417bcb547514866fbb07d1e27cfb8ecca561db 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ install:
 	chmod 755 /usr/local/bin/ssl-ca
 
 clean:
-	[ -f .server.pid ] && kill "$$(cat .server.pid)"
+	if [ -f .server.pid ]; then kill "$$(cat .server.pid)"; fi
 	rm -rf openssl.cnf certs keys CA.key CA.crt CA.p12 CA.srl .server.pid
 
 test: clean