iop: build_branch_sysupgrade: do not run sysupgrade if build_branch fails

This commit is contained in:
Ionuț-Alex Oprea 2018-04-04 17:14:06 +02:00
parent 19f6370294
commit c0b299231d

View file

@ -48,7 +48,7 @@ function build_branch_sysupgrade {
time {
./iop build_branch $branch $board $customer
./iop ssh_sysupgrade_latest $ip $opts
[ "$?" == "0" ] && ./iop ssh_sysupgrade_latest $ip $opts
}
set +x
}