Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ACL: use createdefault in access_init()
  • Loading branch information
perexg committed Dec 18, 2014
1 parent a67c6bb commit 5a9b31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/access.c
Expand Up @@ -1392,7 +1392,7 @@ access_init(int createdefault, int noacl)
access_entry_reindex();
}

if(TAILQ_FIRST(&access_entries) == NULL) {
if(createdefault && TAILQ_FIRST(&access_entries) == NULL) {
/* No records available */
ae = access_entry_create(NULL, NULL);

Expand Down

0 comments on commit 5a9b31e

Please sign in to comment.