diff --git a/Makefile b/Makefile
index 8f113a2..7bbd870 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ endef
 # prototype: git_commit(msg)
 define git_commit
 	-@flock $(LOCK_DIR) $(MAKE) -C $(YSYX_HOME) .git_commit MSG='$(1)'
-	-@sync
+	-@sync $(LOCK_DIR)
 endef
 
 .git_commit: