Fix error making shell exit immediately

This commit is contained in:
Anthony Rose 2022-08-18 08:50:52 +01:00
parent 9b85df20ff
commit fdb521b217

View file

@ -276,7 +276,7 @@ fi
usermotd () { usermotd () {
if [ -n "$_acp_motd_shown" ] if [ -n "$_acp_motd_shown" ]
then then
exit 1 return 1
fi fi
export _acp_motd_shown=1 export _acp_motd_shown=1
printf "\033[7m"; uname -sr; printf "\033[0m" printf "\033[7m"; uname -sr; printf "\033[0m"