mvebu/uDPU: remove $? usage
authorRosen Penev <rosenp@gmail.com>
Sat, 20 Aug 2022 21:02:58 +0000 (14:02 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 3 Feb 2023 10:34:20 +0000 (11:34 +0100)
commitcb6df29cbd45f11edc52e081c6a30af2dd69aad5
treef5770b4292e341ffb43bd3bf57ca4abf8251dea7
parent3b80b8e560a0d1414c2ed9f2a2e0e1cc3e0e0e87
mvebu/uDPU: remove $? usage

shellcheck warns against it with SC2086. It also hides a bug that
shellcheck marks with SC2015. Fixed those with explicit if/else.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh