livenet/livenetroot.sh: fixed error condition
copy&paste error
(cherry picked from commit b813b1b306)
master
parent
6cfdb5aa1f
commit
7d47178e0d
|
|
@ -15,7 +15,7 @@ liveurl="${netroot#livenet:}"
|
|||
info "fetching $liveurl"
|
||||
imgfile=$(fetch_url "$liveurl")
|
||||
|
||||
if [ $? = 0 ]; then
|
||||
if [ $? != 0 ]; then
|
||||
warn "failed to download live image: error $?"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue