From e1c3f98e81814281fb0949e7839d2f0d82dacb1b Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Thu, 23 Aug 2018 18:18:36 +0200 Subject: Piping errors in apt update to /dev/null (critical ones will make it fail anyway --- sbin/ln-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/ln-update b/sbin/ln-update index 69640d7..07b46dd 100755 --- a/sbin/ln-update +++ b/sbin/ln-update @@ -244,7 +244,7 @@ esac [ "$SHUTUP" -ne 1 ]&&retinit "Updating Apt database" #"$SUDBIN" "$APTBIN" -qqq update -"$APTBIN" -qqq update +"$APTBIN" -qqq update 2>/dev/null if [ "$?" -ne 0 ];then [ "$SHUTUP" -ne 1 ]&&echo -e "$RETERR" [ "$LOGDMP" -eq 1 ]&&logger -p"error" -t"$LOGTARG" "Cannot update apt database." -- cgit v1.2.3