Browse Source

(dump_dir0): Bugfix. Thanks Piotr Czerwinski <pius@pld-linux.org> for the patch.

Sergey Poznyakoff 21 years ago
parent
commit
2690759c06
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/create.c

+ 4 - 2
src/create.c

@@ -981,9 +981,11 @@ dump_dir0 (char *directory,
 	  return;
 	}
     }
-  else if (!recursion_option)
+
+  if (!recursion_option)
     return;
-  else if (one_file_system_option
+
+  if (one_file_system_option
 	   && !top_level
 	   && parent_device != stat->stat.st_dev)
     {