[PATCH] hush: fix last_return_code when PROMPT_COMMAND is used
Sascha Hauer
s.hauer at pengutronix.de
Thu Sep 18 07:23:57 PDT 2025
On Wed, 17 Sep 2025 15:36:24 +0200, Sascha Hauer wrote:
> Wenn PROMPT_COMMAND is used then a "echo $?" shows the result of the
> PROMPT_COMMAND instead of the result of the last command. Fix this by
> restoring the previous value after PROMPT_COMMAND has been executed.
>
>
Applied, thanks!
[1/1] hush: fix last_return_code when PROMPT_COMMAND is used
https://git.pengutronix.de/cgit/barebox/commit/?id=c31d79b1dec1 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list