livenet/livenetroot.sh: fixed error condition

copy&paste error

(cherry picked from commit b813b1b306)
master
Harald Hoyer 2015-09-02 09:47:35 +02:00
parent 6cfdb5aa1f
commit 7d47178e0d
1 changed files with 1 additions and 1 deletions

View File

@ -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