mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user