summaryrefslogtreecommitdiffstats
path: root/src/guestfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/guestfs.c')
-rw-r--r--src/guestfs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/guestfs.c b/src/guestfs.c
index cef80db8..74de38cc 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -220,12 +220,6 @@ guestfs_close (guestfs_h *g)
snprintf (filename, sizeof filename, "%s/sock", g->tmpdir);
unlink (filename);
- snprintf (filename, sizeof filename, "%s/initrd", g->tmpdir);
- unlink (filename);
-
- snprintf (filename, sizeof filename, "%s/kernel", g->tmpdir);
- unlink (filename);
-
rmdir (g->tmpdir);
free (g->tmpdir);