+Error text: Failed to remove (non-recursive removal) directory "%s": %m
authorlace <>
Fri, 16 Dec 2005 16:11:01 +0000 (16:11 +0000)
committerlace <>
Fri, 16 Dec 2005 16:11:01 +0000 (16:11 +0000)
 - Reached by: Gregor Rebolj

src/libcaptive/sandbox/split.c

index 4612a77..e509048 100644 (file)
@@ -398,7 +398,8 @@ gchar *pathname;
        errint=closedir(dir);
        g_assert(errint==0);
        errint=rmdir(dirname);
-       g_assert(errint==0);
+       if (errint)
+               g_error(_("Failed to remove (non-recursive removal) directory \"%s\": %m"),dirname);
 }
 
 static const gchar *sandbox_parent_own_orbit_dir;