mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-08-24 09:13:15 +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"
|
vlog "Logfile: $logfile"
|
||||||
|
|
||||||
if ! [ -d "$snapshots" ] && ! [ ${timeshift_auto} = true ]; then
|
if ! [ -d "$snapshots" ] && ! [ ${timeshift_auto} = true ]; then
|
||||||
err "[!] No directory found at ${snapshots}" "${RED}" >&2
|
log "[!] No directory found at ${snapshots}" "${CYAN}" >&2
|
||||||
err "[!] Please specify a valid snapshot directory" "${RED}" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${timeshift_auto} = true ]; then
|
if [ ${timeshift_auto} = true ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user