mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 08:36:01 +01:00
don't loop indefinitly if a plugin directy doesn't exist
This commit is contained in:
parent
d613fd41ac
commit
298daab365
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ zathura_document_plugins_load(zathura_t* zathura)
|
||||||
DIR* dir = opendir(plugindir);
|
DIR* dir = opendir(plugindir);
|
||||||
if (dir == NULL) {
|
if (dir == NULL) {
|
||||||
girara_error("could not open plugin directory: %s", plugindir);
|
girara_error("could not open plugin directory: %s", plugindir);
|
||||||
|
girara_list_iterator_next(iter);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue