Checkout for mails in personal inbox, not root's

tripwire mails are forwarded to my personal inbox, check there.
This commit is contained in:
Daniel - 2022-06-12 11:51:37 +02:00
parent 86ad65f88b
commit 7836ff0eef
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ function encode-with-ffmpeg() {
}
function run-apt-upgrade() {
local upgrade_seq='sudo systemd-inhibit --what=shutdown:idle:sleep /bin/bash -c "mail && apt clean && apt update && apt upgrade && apt autoremove && tripwire --check --interactive"'
local upgrade_seq='mail && echo "Starting update" && sudo systemd-inhibit --what=shutdown:idle:sleep /bin/bash -c "apt clean && apt update && apt upgrade && apt autoremove && tripwire --check --interactive"'
local host=$1
if [[ -z $host ]]; then