1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-18 05:40:07 +00:00
This commit is contained in:
Mikhaylov Anton 2016-11-21 16:25:34 +05:00 committed by Ben Hilburn
parent 41588e0d24
commit 32708784b2

View file

@ -377,8 +377,7 @@ prompt_hdd_usage() {
if [ $level -le $POWERLEVEL9K_HDD_USAGE_WARNING_LEVEL ]; then
current_state='warning'
message="$message left"
fi
if [ $level -le $POWERLEVEL9K_HDD_USAGE_CRITICAL_LEVEL ]; then
elif [ $level -le $POWERLEVEL9K_HDD_USAGE_CRITICAL_LEVEL ]; then
current_state='critical'
message="$message left"
fi