From 661f36a866f9468cfab62be938bcbc9dbeb4836a Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Sun, 26 Feb 2017 15:59:21 -0800 Subject: [PATCH] Fix typo --- plexupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index 3cad967..bebc53d 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -476,7 +476,7 @@ if [ "${SKIP_DOWNLOAD}" = "no" ]; then info "File downloaded" fi -if sha1sum --status -c "${FILE_SHA}"; then +if ! sha1sum --status -c "${FILE_SHA}"; then error "Downloaded file corrupt. Try again." exit 4 fi