From 6985efb330487fb4ceb3fea0b4bfc86010c6d7f8 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 6 Aug 2009 12:12:20 +0200 Subject: debian/apt.cron.daily: Make sure that VERBOSE is always set before accessing it (Closes: #539366) --- debian/apt.cron.daily | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'debian/apt.cron.daily') diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index 4f47ccfab..35ee5db6c 100644 --- a/debian/apt.cron.daily +++ b/debian/apt.cron.daily @@ -320,11 +320,9 @@ if ! which apt-config >/dev/null ; then fi # Set VERBOSE mode from apt-config (or inherit from environment) +VERBOSE=0 eval $(apt-config shell VERBOSE APT::Periodic::Verbose) debug_echo "verbose level $VERBOSE" -if [ -z "$VERBOSE" ]; then - VERBOSE="0" -fi if [ "$VERBOSE" -le 2 ]; then # quiet for 0,1,2 XSTDOUT=">/dev/null" -- cgit v1.2.3