From bf1f830aa6707443336ea553a5e869566b81f80e Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Tue, 29 Nov 2016 19:31:48 -0800 Subject: [PATCH] Logic is hard --- plexupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index 070f2f1..32a0ffd 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -322,7 +322,7 @@ if [ "${AUTOUPDATE}" = "yes" ]; then exit 1 fi - if git diff --quiet; then + if ! git diff --quiet; then error "You have made changes to the plexupdate files, cannot auto update" exit 1 fi