]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- better error message 193/head
authorArvin Schnell <aschnell@suse.de>
Mon, 31 Aug 2015 14:54:12 +0000 (16:54 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 31 Aug 2015 14:54:12 +0000 (16:54 +0200)
snapper/Btrfs.cc

index b8b101ebd2a1ff916ad5d140416f8640e44ab331..9c99a0c1c9eb88e653b13e73b69fd60c0c19a563 100644 (file)
@@ -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)