diff --git a/pacman-update-notify.rb b/pacman-update-notify.rb index 00fe097..a457026 100644 --- a/pacman-update-notify.rb +++ b/pacman-update-notify.rb @@ -37,7 +37,7 @@ threads << Thread.new do updates = update_queue.deq if updates != last_check last_check = updates - notify(updates) + notify(updates) unless updates.zero? else @log.info { "No new updates available" } end