Return 0 on exit

This prevents cron from printing warnings in log when
a condition is false.
master
Emil Miler 4 years ago
parent 4d61a485a3
commit e8ef2171c6

@ -9,4 +9,5 @@ acpi_status=$(echo "$acpi" | awk -F ': |,' {'print $2'})
[ "$acpi_value" -lt "$limit" ] &&
export DISPLAY=:0.0 &&
notify-send -u critical "Battery charge at $acpi_value%"
exit 0

Loading…
Cancel
Save