Strange behaviour of 'exit' command

Ian Abbott abbotti at mev.co.uk
Wed Jun 12 03:42:24 PDT 2019


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 at 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. )=-



More information about the barebox mailing list