grub-btrfsd: make dir check of snapshots dir a warning

Bug #234

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal Jäger
2022-11-25 08:52:49 +01:00
parent 1d760ad730
commit 91c4aac82c

View File

@@ -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