From 64d7716d3904df3034c56d5fa36d1133b7437557 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Fri, 24 Aug 2018 12:39:02 +0200 Subject: Enabling quit again if there's no updates --- sbin/ln-update | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/ln-update b/sbin/ln-update index 07b46dd..dbb380e 100755 --- a/sbin/ln-update +++ b/sbin/ln-update @@ -259,10 +259,10 @@ unset IFS UPDCNT="${#UPDARR[@]}" unset UPDARR case "$UPDCNT" in -# 0|1) -# [ "$SHUTUP" -ne 1 ]&&retinf "No updates available :)" -# exit 0 -# ;; + 0|1) + [ "$SHUTUP" -ne 1 ]&&retinf "No updates available :)" + exit 0 + ;; *) [ "$SHUTUP" -ne 1 ]&&echo -e "$RETOGE" [ "$LOGDMP" -eq 1 ]&&logger -p"error" -t"$LOGTARG" "Apt database uodated." -- cgit v1.2.3