summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/btrfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index b9b88dd1..411fdeaa 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -31,7 +31,7 @@
int
optgroup_btrfs_available (void)
{
- return prog_exists ("btrfs");
+ return prog_exists ("btrfs") && filesystem_available ("btrfs") > 0;
}
/* Takes optional arguments, consult optargs_bitmask. */