aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_logout
blob: ab3f573d808d3bb5807c72518b917da6bbee3b7e (plain)
1
2
3
4
# Clear console if possible when logging out
if [ "$SHLVL" = 1 ] ; then
    clear_console -q 2>/dev/null
fi