From f8fd18f05e27fc401f675661c273ee270e03f28a Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Thu, 1 Sep 2016 14:56:49 +0200 Subject: [PATCH] Don't unset the DISPLAY variable --- restic-cron | 1 + 1 file changed, 1 insertion(+) diff --git a/restic-cron b/restic-cron index 20df26f..e8e92bd 100755 --- a/restic-cron +++ b/restic-cron @@ -17,6 +17,7 @@ if [ "$1" = "--verbose" ]; then fi # Allow for connecting to X11 and the SSH agent +export DISPLAY=:0 export SSH_AUTH_SOCK=/run/user/1000/keyring/ssh export SSH_AGENT_PID=$(pidof ssh-agent)