From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@barebox.org>
Subject: [PATCH master 1/2] defaultenv: bin/devboot: fix typo in final exit
Date: Thu, 15 Oct 2026 13:07:00 +0200 [thread overview]
Message-ID: <20261015110703.2378569-1-a.fatoum@pengutronix.de> (raw)
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
next reply other threads:[~2026-10-15 11:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 11:07 Ahmad Fatoum [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261015110703.2378569-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=a.fatoum@barebox.org \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox