• Adam Wujek's avatar
    patches/barebox: fix tftp boot sequence · 1140c4b1
    Adam Wujek authored
    Second test of $? value was not always result of command
    "tftp $eth0.ipaddr/wrboot wrboot", but sometimes result of first if statement
    (in case first tftp was successful).
    
    In other words, when there was file wrboot-$eth0.ethaddr on tftp server, script
    was still fetching and executing wrboot.
    Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
    1140c4b1