From 440cbe2f8cf1ed99722481f5a764324368a95549 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Mon, 19 Oct 2015 05:53:43 -0700 Subject: [PATCH] update 8 --- autoupdate | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autoupdate b/autoupdate index 55aeca0..31ce681 100755 --- a/autoupdate +++ b/autoupdate @@ -26,4 +26,6 @@ echo $version > version git commit -qm "update $version" . >/dev/null -git remote | grep -Fxq origin && git push -q origin master +if git remote | grep -Fxq origin; then + git push -q origin master +fi