]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added error logging
authorArvin Schnell <aschnell@suse.de>
Thu, 7 Jul 2011 07:35:57 +0000 (09:35 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 7 Jul 2011 07:35:57 +0000 (09:35 +0200)
snapper/Snapshot.cc

index 8512769cdd63b693130f789eef8e04b60942c340..3aed2ab7e3c512399b90cfe9ca31daf9515bacf3 100644 (file)
@@ -280,7 +280,10 @@ namespace snapper
            ++num;
 
        if (r != 0)
+       {
+           y2err("mkdir failed errno:" << errno << " (" << strerror(errno) << ")");
            throw IOErrorException();
+       }
 
        return num;
     }