From 524bb1b00d7e87b7632797a5298b1a8ff3c50575 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Tue, 24 Dec 2024 18:42:00 -0600 Subject: [PATCH] Remove error check; useless. --- check-updates | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/check-updates b/check-updates index 01b3c4f..0105131 100755 --- a/check-updates +++ b/check-updates @@ -1,15 +1,5 @@ #!/usr/bin/env bash -if ! sudo dnf check-update >/dev/null; then - echo "Error checking for DNF updates" - exit 1 -fi - -if ! flatpak remote-ls --updates >/dev/null; then - echo "Error checking for Flatpak updates" - exit 1 -fi - DNF_UPDATES=$(sudo dnf check-update | wc -l) FLATPAK_UPDATES=$(flatpak remote-ls --updates | wc -l)