Blame SOURCES/0334-livenet-livenetroot.sh-fixed-error-condition.patch

712866
From b813b1b3064d4951c5403bb0f96480de9a355d8e Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Wed, 2 Sep 2015 09:47:35 +0200
712866
Subject: [PATCH] livenet/livenetroot.sh: fixed error condition
712866
712866
copy&paste error
712866
---
712866
 modules.d/90livenet/livenetroot.sh | 2 +-
712866
 1 file changed, 1 insertion(+), 1 deletion(-)
712866
712866
diff --git a/modules.d/90livenet/livenetroot.sh b/modules.d/90livenet/livenetroot.sh
5c6c2a
index 2e36ee98..b7592bc0 100755
712866
--- a/modules.d/90livenet/livenetroot.sh
712866
+++ b/modules.d/90livenet/livenetroot.sh
712866
@@ -15,7 +15,7 @@ liveurl="${netroot#livenet:}"
712866
 info "fetching $liveurl"
712866
 imgfile=$(fetch_url "$liveurl")
712866
 
712866
-if [ $? = 0 ]; then
712866
+if [ $? != 0 ]; then
712866
 	warn "failed to download live image: error $?"
712866
 	exit 1
712866
 fi