Browse Source

livenet/livenetroot.sh: fixed error condition

copy&paste error

(cherry picked from commit b813b1b306)
master
Harald Hoyer 10 years ago
parent
commit
7d47178e0d
  1. 2
      modules.d/90livenet/livenetroot.sh

2
modules.d/90livenet/livenetroot.sh

@ -15,7 +15,7 @@ liveurl="${netroot#livenet:}"
info "fetching $liveurl" info "fetching $liveurl"
imgfile=$(fetch_url "$liveurl") imgfile=$(fetch_url "$liveurl")


if [ $? = 0 ]; then if [ $? != 0 ]; then
warn "failed to download live image: error $?" warn "failed to download live image: error $?"
exit 1 exit 1
fi fi

Loading…
Cancel
Save