From: Ian Abbott <abbotti@mev.co.uk>
To: Barebox List <barebox@lists.infradead.org>
Subject: Strange behaviour of 'exit' command
Date: Wed, 12 Jun 2019 11:42:24 +0100 [thread overview]
Message-ID: <70b8a552-c423-9e74-ae80-5385a90e35ba@mev.co.uk> (raw)
I noticed some strange behaviour in the 'hush' shell when the 'sh' and
'exit' commands are used:
---------------------------------
barebox:/ sh
barebox:/ exit
t: No such file or directory
barebox:/ echo $?
127
barebox:/
---------------------------------
Also:
---------------------------------
barebox:/ sh
barebox:/ exit 2
sh - execute a shell script
Usage: sh FILE [ARGUMENT...]
t: No such file or directory
barebox:/
---------------------------------
Can anyone else reproduce this?
--
-=( Ian Abbott <abbotti@mev.co.uk> || Web: www.mev.co.uk )=-
-=( MEV Ltd. is a company registered in England & Wales. )=-
-=( Registered number: 02862268. Registered address: )=-
-=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2019-06-12 10:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-12 10:42 Ian Abbott [this message]
2019-06-13 7:18 ` 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=70b8a552-c423-9e74-ae80-5385a90e35ba@mev.co.uk \
--to=abbotti@mev.co.uk \
--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