From d041457005905441f56fdd731c8b3676ecfb69e3 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 4 Feb 2020 07:37:54 +0100 Subject: [PATCH] Fix unnecessary double update check --- kernel-updates-check.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel-updates-check.sh b/kernel-updates-check.sh index afd838b..d376c94 100755 --- a/kernel-updates-check.sh +++ b/kernel-updates-check.sh @@ -4,6 +4,5 @@ UPDATES=$(checkupdates --download) if [ ! -z "$(echo -en UPDATES | grep \"linux\")" ]; then echo "Updates available!" - UPDATES=$(checkupdates --download) echo -e "Updates are available:\n\n$UPDATES" | $(dirname $0)/mail.sh "Updates are available on $(hostname)" -fi \ No newline at end of file +fi