git » libjio » commit bf54fc3

Remove the journal directory in jfsck_cleanup().

author Alberto Bertogli
2004-07-22 14:18:07 UTC
committer Alberto Bertogli
2007-07-15 13:16:57 UTC
parent 609bd0b655dc6ea9a023015ad68ff72cd6ebadf8

Remove the journal directory in jfsck_cleanup().

Remove the journal directory in jfsck_cleanup().

check.c +2 -0

diff --git a/check.c b/check.c
index a6ff36a..2a598d5 100644
--- a/check.c
+++ b/check.c
@@ -277,6 +277,8 @@ int jfsck_cleanup(const char *name)
 	}
 	closedir(dir);
 
+	rmdir(jdir);
+
 	return 1;
 }