repo: Only open regular files

Otherwise we'll try to open device files with predictably bad
consequences.
This commit is contained in:
Colin Walters committed 2011-10-19 18:06:06 -04:00
1 parent 961b1c80db
commit aa25334286
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1096,7 +1096,7 @@ add_one_file_to_tree_and_import (OstreeRepo *self,
}
static gboolean
add_one_path_to_tree_and_import (OstreeRepo *self,
add_one_path_to_tree_and_import (OstreeRepo *self,
const char *base,
const char *filename,
ParsedTreeData *tree,