diff --git a/dom0-updates/qubes-dom0-updates.cron b/dom0-updates/qubes-dom0-updates.cron index 5d5825f..3c09d4a 100755 --- a/dom0-updates/qubes-dom0-updates.cron +++ b/dom0-updates/qubes-dom0-updates.cron @@ -1,7 +1,5 @@ #!/bin/bash -# Get normal user name -LOCAL_USER=`users | sed -e 's/root *//' | cut -d' ' -f 1` NOTIFY_ICON=/usr/share/qubes/icons/dom0-update-avail.svg UPDATES_STAT_FILE=/var/lib/qubes/updates/dom0-updates-available UPDATES_DISABLE_FLAG=/var/lib/qubes/updates/disable-updates @@ -19,10 +17,5 @@ if [ "$RETCODE" -ne 100 ]; then exit $RETCODE fi -if [ -z "$LOCAL_USER" ]; then - echo "ERROR: no user logged in, cannot nofity about updates" >&2 - exit 1 -fi - # Touch stat file for qubes-manager touch $UPDATES_STAT_FILE