From 393742f6a58369232bb40e41959ccc8a476535ed Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 3 May 2020 18:19:18 +0200 Subject: [PATCH] prepare observed-files basedire: fix mounted check Signed-off-by: Thomas Lamprecht --- data/PVE/Cluster.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index 70756bb..210ea85 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -75,7 +75,7 @@ my $observed = { sub prepare_observed_file_basedirs { - if (check_cfs_is_mounted(1)) { + if (!check_cfs_is_mounted(1)) { warn "pmxcfs isn't mounted (/etc/pve), chickening out..\n"; return; } -- 2.39.2