From 7fd61da7d044b2c0f956c5a602315a1b59f80b2b Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Mon, 31 Aug 2015 16:54:12 +0200 Subject: [PATCH] - better error message --- snapper/Btrfs.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc index b8b101eb..9c99a0c1 100644 --- a/snapper/Btrfs.cc +++ b/snapper/Btrfs.cc @@ -206,7 +206,7 @@ namespace snapper if (!is_subvolume(stat)) { - throw IOErrorException("subvolume is not a btrfs snapshot"); + throw IOErrorException("subvolume is not a btrfs subvolume"); } return subvolume_dir; @@ -227,7 +227,7 @@ namespace snapper if (!is_subvolume(stat)) { - SN_THROW(IOErrorException(".snapshots is not a btrfs snapshot")); + SN_THROW(IOErrorException(".snapshots is not a btrfs subvolume")); } if (stat.st_uid != 0) -- 2.47.3