From 0c3b36070eaa7134a8a441c0c5b769ca21bf7146 Mon Sep 17 00:00:00 2001 From: William Allen Date: Thu, 4 Jan 2024 05:38:10 -0600 Subject: [PATCH] Only making success handler act if a restore file exists --- debian/lightdm-success-handler.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/lightdm-success-handler.service b/debian/lightdm-success-handler.service index 736e287a..7976de41 100644 --- a/debian/lightdm-success-handler.service +++ b/debian/lightdm-success-handler.service @@ -5,7 +5,7 @@ After=lightdm.service [Service] Type=oneshot -ExecStart=/bin/sh -c 'test -f /etc/issue.restore && mv /etc/issue.restore /etc/issue || echo -e "Linux \\\\r (\\\\l)\n\n" > /etc/issue' +ExecStart=/bin/sh -c 'test -f /etc/issue.restore && mv /etc/issue.restore /etc/issue || echo "File /etc/issue.restore not found. No restore action needed."' [Install] WantedBy=graphical.target