mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master 1/2] defaultenv: bin/devboot: fix typo in final exit
@ 2026-10-15 11:07 Ahmad Fatoum
  2026-10-15 11:07 ` [PATCH master 2/2] defaultenv: devboot: use rsinit.bind_modules to bind mount modules Ahmad Fatoum
  2026-10-15 11:40 ` [PATCH master 1/2] defaultenv: bin/devboot: fix typo in final exit Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2026-10-15 11:07 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

From: Ahmad Fatoum <a.fatoum@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@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-15 11:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15 11:07 [PATCH master 1/2] defaultenv: bin/devboot: fix typo in final exit Ahmad Fatoum
2026-10-15 11:07 ` [PATCH master 2/2] defaultenv: devboot: use rsinit.bind_modules to bind mount modules Ahmad Fatoum
2026-10-15 11:40 ` [PATCH master 1/2] defaultenv: bin/devboot: fix typo in final exit Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox