512a8e
diff -urNp old/restore/restore.c new/restore/restore.c
512a8e
--- old/restore/restore.c	2017-08-30 09:44:50.912572953 +0200
512a8e
+++ new/restore/restore.c	2017-08-30 09:45:48.770347062 +0200
512a8e
@@ -593,7 +593,7 @@ findunreflinks(void)
512a8e
 					if (np->e_type == LEAF) {
512a8e
 						removeleaf(np);
512a8e
 						freeentry(np);
512a8e
-					} else {
512a8e
+					} else if (np->e_ino != 0){
512a8e
 						np->e_flags |= TMPNAME;
512a8e
 						deleteino(np->e_ino);
512a8e
 						np->e_next = removelist;