diff --git a/autocompile.sh b/autocompile.sh
index a79d9d85ae46e324e5a1a2407f325119d24046a5..5d609350044402a2797a3e13bb104feb6d5b0c24 100755
--- a/autocompile.sh
+++ b/autocompile.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-if [ -z $1 ]; then
+if [ ! -z $1 ]; then
 	git subtree -P config pull ../config master && \
 	git subtree -P config push ../config core
 fi