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

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