aboutsummaryrefslogtreecommitdiff
path: root/authz
diff options
context:
space:
mode:
Diffstat (limited to 'authz')
-rw-r--r--authz/listfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/authz/listfile.c b/authz/listfile.c
index 24feac3..1421e67 100644
--- a/authz/listfile.c
+++ b/authz/listfile.c
@@ -128,6 +128,9 @@ qauthz_list_file_complete(UserCreatable *uc, Error **errp)
}
fauthz->list = qauthz_list_file_load(fauthz, errp);
+ if (!fauthz->list) {
+ return;
+ }
if (!fauthz->refresh) {
return;