From: Arvin Schnell Date: Mon, 31 Aug 2015 14:54:12 +0000 (+0200) Subject: - better error message X-Git-Tag: v0.3.3~60^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F193%2Fhead;p=thirdparty%2Fsnapper.git - better error message --- 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)