summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/unionfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/unionfs.c b/src/common/unionfs.c
index 5e90c0c..840dc68 100644
--- a/src/common/unionfs.c
+++ b/src/common/unionfs.c
@@ -769,7 +769,7 @@ apply_priority(GNode *root_node)
char str[1025];
while (fgets(str, 1024, fp) != 0) {
gchar** tok_str = g_strsplit(str," ",3);
- if (tok_str[0] == NULL || tok_str[1] == NULL) {
+ if (tok_str[0] == NULL || tok_str[1] == NULL || strncmp(tok_str[0],"#",1) == 0) {
continue;
}
char *path = tok_str[1];