summaryrefslogtreecommitdiff
path: root/scripts/binutils-version.sh
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-04-20 03:23:07 +0200
committerTom Rini <[email protected]>2026-04-24 11:28:14 -0600
commitd64c4a69585aa096c693c0b7ec4e6e04333fc45f (patch)
tree897762af88d3c33808e0658484ba12b9c4d7739e /scripts/binutils-version.sh
parent30885b01aaa4bcdfa3fee9ca3066d3af563e6688 (diff)
common: update: Fix TFTP return value handling
The net_loop() returns 1 on success, but update_load() returns 0 on success. Do not assign rv which is the return value of update_load() to net_loop(), instead assign net_loop() return value to a temporary variable and then update rv only if the temporary variable is negative. This way the update_load() now correctly returns 0 on tftp success and 1 only on failure. Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'scripts/binutils-version.sh')
0 files changed, 0 insertions, 0 deletions