summarylogtreecommitdiffstats
path: root/restore-rmdir.patch
diff options
context:
space:
mode:
authorPhillip Smith2015-06-02 10:25:00 +1000
committerPhillip Smith2015-06-02 10:25:00 +1000
commitf5b1bac593e5098073010e26b8d3cc730398d186 (patch)
treef765bf50bc43f372c2b83c6fd44ac9ed9a337e5f /restore-rmdir.patch
downloadaur-f5b1bac593e5098073010e26b8d3cc730398d186.tar.gz
initial commit
Diffstat (limited to 'restore-rmdir.patch')
-rw-r--r--restore-rmdir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/restore-rmdir.patch b/restore-rmdir.patch
new file mode 100644
index 000000000000..45566f966171
--- /dev/null
+++ b/restore-rmdir.patch
@@ -0,0 +1,11 @@
+--- restore/restore.c 2015-01-19 10:50:21.629933524 +1100
++++ restore/restore.c 2015-01-19 10:51:09.219934850 +1100
+@@ -593,7 +593,7 @@
+ if (np->e_type == LEAF) {
+ removeleaf(np);
+ freeentry(np);
+- } else {
++ } else if (np->e_ino != 0) {
+ np->e_flags |= TMPNAME;
+ deleteino(np->e_ino);
+ np->e_next = removelist;