Don't create a hole in the array of configs if there's a directory. Such
a hole would be mistaken for the end of the array.
Signed-off-by: Michal 'vorner' Vaner
---
file.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/file.c b/file.c
in
Hello
It was pointed to me by a user that when the /etc/config contains
subdirectories, uci show lists everything only up to the first subdirectory and
then stops.
It turns out the uci_list_config_files returns an array which has holes (NULLs)
in places of the subdirectories, as it tries to filte