Fix logic error

This commit is contained in:
Alexander Hess 2024-06-06 19:02:07 +02:00
parent 6a5e4624f1
commit 8ebea88538
Signed by: alexander
GPG key ID: 344EA5AB10D868E0

View file

@ -2,5 +2,9 @@
# Clear the screen to increase privacy # Clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear ] && /usr/bin/clear || [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q if [ -x /usr/bin/clear ]; then
/usr/bin/clear
elif [ -x /usr/bin/clear_console ]; then
/usr/bin/clear_console -q
fi
fi fi