Fix logic error
This commit is contained in:
parent
6a5e4624f1
commit
8ebea88538
1 changed files with 5 additions and 1 deletions
|
@ -2,5 +2,9 @@
|
|||
|
||||
# Clear the screen to increase privacy
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue