summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-06-01 08:24:12 +0200
committerJulian Andres Klode <jak@debian.org>2017-06-01 08:24:12 +0200
commit31c81a37ac6dceda0c94ce088b338b6b09afd5a4 (patch)
treeb67d274edd80e0b80fdbf6aac1c6e7923dc8c102 /debian
parent66d7b8b40746707850d00eeb07d723abc8eb6363 (diff)
apt.systemd.daily: Pass --dry-run to unattended-upgrade, not -d
We want to download stuff: --dry-run Simulation, download but do not install not debug: -d, --debug print debug messages Confusion everywhere! Closes: #863859
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/apt.systemd.daily2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.systemd.daily b/debian/apt.systemd.daily
index 0ecbde219..544145077 100755
--- a/debian/apt.systemd.daily
+++ b/debian/apt.systemd.daily
@@ -453,7 +453,7 @@ if [ "$1" = "update" -o -z "$1" ] ; then
fi
if which unattended-upgrade >/dev/null 2>&1 && check_stamp $DOWNLOAD_UPGRADEABLE_STAMP $UnattendedUpgradeInterval; then
- if unattended-upgrade -d $XUUPOPT; then
+ if unattended-upgrade --dry-run $XUUPOPT; then
update_stamp $DOWNLOAD_UPGRADEABLE_STAMP
debug_echo "unattended-upgrade -d (success)"
else