[PATCH] defaultenv: bin/devboot: propagate exit status of boot command
Sascha Hauer
s.hauer at pengutronix.de
Tue Sep 22 23:16:44 PDT 2026
On Mon, 21 Sep 2026 14:23:28 +0200, Ahmad Fatoum wrote:
> The script ends with cd "${saved_pwd}", so its exit status is that of
> the cd and not of the boot command before it.
>
> Save the exit status of the boot command and exit with it after
> changing back to the previous directory.
>
>
> [...]
Applied, thanks!
[1/1] defaultenv: bin/devboot: propagate exit status of boot command
https://git.pengutronix.de/cgit/barebox/commit/?id=90fb96609ef7 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list