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 () {
if [ -n "$_acp_motd_shown" ]
then
exit 1
return 1
fi
export _acp_motd_shown=1
printf "\033[7m"; uname -sr; printf "\033[0m"