bundles/apt: fix statusfile output of unattended upgrades
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-21 18:07:01 +01:00
parent 7631ff9a5e
commit 1d450b9829
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 3 deletions

View file

@ -41,10 +41,12 @@ trap 'rm -f "$softlockdir"/UNATTENDED' EXIT
DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef dist-upgrade
)
ret=$?
echo "apt-get dist-upgrade exited $ret"
echo "$ret" > "$statusfile"
if (( $ret != 0 ))
then
echo "apt-get dist-upgrade exited $ret"
echo "$ret" > "$statusfile"
exit 1
fi

View file

@ -324,7 +324,7 @@ nodes['htz.ex42-1048908'] = {
'password': vault.decrypt('encrypt$gAAAAABfp7qzym32R6Go1A6oax0NGQM7EBMckbEbnZC6-RSKx-klSJsL57XbSUTD-AJM-gBIPzlmor-3bfVxPWLRYXtO8uTVw6jNQ1yt15ReHkOTijVqV2ACk-LTDBG3p4YKBn0pQgNvvjXhWV_J1-Pgjywbl4sHXc0zqjCGZ6xtEn6ywj0Pd599JJjREF4QCIFVZVWuKvo1'),
},
'travelynx': {
'version': '1.18.9',
'version': '1.18.10',
'mail_from': 'travelynx@franzi.business',
},
'users': {