btrbk: do not warn on non-parseable btrfs mountpoint

Many people use whitespace even in mountpoints, silently ignore
(loglevel=info) non-parseable btrfs mountpoints.

Btrbk does not support file names with whitespace or special
characters by design, and specifying such mountpoints in the
configuration file fails anyway.
pull/235/head
Axel Burri 2018-05-31 00:34:50 +02:00
parent ffba3e47c6
commit 391e50b872
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -1855,7 +1855,7 @@ sub btrfs_mountpoint($)
next;
}
unless($mnt->{file} =~ /^$file_match$/) {
WARN "Ignoring non-parseable btrfs mountpoint on $host: \"$mnt->{file}\"";
INFO "Ignoring non-parseable btrfs mountpoint on $host: \"$mnt->{file}\"";
next;
}
unless($mnt->{MNTOPS}->{subvolid}) {