[PATCH master 1/2] defaultenv: bin/devboot: fix typo in final exit

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Oct 15 04:07:00 PDT 2026


From: Ahmad Fatoum <a.fatoum at barebox.org>

The script now ends with "ecit $ret" instead of "exit $ret", so every
devboot whose boot command returns prints "ecit: Command not found"
and exits with 127 instead of the status of the boot command.

Fix the typo and add the missing newline at the end of the file.

Fixes: 90fb96609ef7 ("defaultenv: bin/devboot: propagate exit status of boot command")
Assisted-by: Claude:opus-5.5
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 defaultenv/defaultenv-2-base/bin/devboot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defaultenv/defaultenv-2-base/bin/devboot b/defaultenv/defaultenv-2-base/bin/devboot
index 2752e8d7794c..1a4324633769 100644
--- a/defaultenv/defaultenv-2-base/bin/devboot
+++ b/defaultenv/defaultenv-2-base/bin/devboot
@@ -49,4 +49,4 @@ ret=$?
 global -r "linux.bootargs.devboot.*"
 cd "${saved_pwd}"
 
-ecit $ret
\ No newline at end of file
+exit $ret
-- 
2.47.3




More information about the barebox mailing list