diff options
Diffstat (limited to 'sbin/ln-update')
-rwxr-xr-x | sbin/ln-update | 8 |
1 files 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." |