From 391e50b8727cf77503d818f6f83ec0851bf2d0b9 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Thu, 31 May 2018 00:34:50 +0200 Subject: [PATCH] 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. --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index 9797ca7..c48fc6a 100755 --- a/btrbk +++ b/btrbk @@ -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}) {