summaryrefslogtreecommitdiff
path: root/debian/apt.systemd.daily
diff options
context:
space:
mode:
authorPaul Wise <pabs@debian.org>2016-11-25 10:53:10 +0100
committerJulian Andres Klode <jak@debian.org>2017-02-22 18:11:43 +0100
commit565dd14806e5cf130ebffc8755d1d9838b7fb828 (patch)
tree37cae58e3a751c987210cf1d35f60f883c2d5768 /debian/apt.systemd.daily
parent5262898c5449b38f0243c6381e15a17687cff337 (diff)
show output as documented for APT::Periodic::Verbose 2
The documentation of APT::Periodic::Verbose doesn't match the code, specifically level 2 should apply some things differently to level 1 but does not because it uses `-le 2` instead of `-lt 2` or `-le 1`. Closes: 845599 (cherry picked from commit 250687865e2d27dc949b810e59b07161a4c8f762) (cherry picked from commit c2ce13f26881d7e7ba8b1912c4f358d703fa85a8)
Diffstat (limited to 'debian/apt.systemd.daily')
-rw-r--r--debian/apt.systemd.daily4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/apt.systemd.daily b/debian/apt.systemd.daily
index d034d8c1a..03d41bae5 100644
--- a/debian/apt.systemd.daily
+++ b/debian/apt.systemd.daily
@@ -320,8 +320,8 @@ fi
VERBOSE=0
eval $(apt-config shell VERBOSE APT::Periodic::Verbose)
debug_echo "verbose level $VERBOSE"
-if [ "$VERBOSE" -le 2 ]; then
- # quiet for 0,1,2
+if [ "$VERBOSE" -le 1 ]; then
+ # quiet for 0/1
XSTDOUT=">/dev/null"
XSTDERR="2>/dev/null"
XAPTOPT="-qq"