From 91c4aac82cffbfefe9cb1cd1b81788c98b1f1f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20J=C3=A4ger?= Date: Fri, 25 Nov 2022 08:52:49 +0100 Subject: [PATCH] grub-btrfsd: make dir check of snapshots dir a warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug #234 Signed-off-by: Pascal Jäger --- grub-btrfsd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/grub-btrfsd b/grub-btrfsd index 1c84c4c..4855895 100755 --- a/grub-btrfsd +++ b/grub-btrfsd @@ -174,9 +174,7 @@ vlog "Timestift autodetection: $timeshift_auto" vlog "Logfile: $logfile" if ! [ -d "$snapshots" ] && ! [ ${timeshift_auto} = true ]; then - err "[!] No directory found at ${snapshots}" "${RED}" >&2 - err "[!] Please specify a valid snapshot directory" "${RED}" >&2 - exit 1 + log "[!] No directory found at ${snapshots}" "${CYAN}" >&2 fi if [ ${timeshift_auto} = true ]; then