Skip to content
Snippets Groups Projects
Commit 4c2b714b authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

if dir is empty do nothing

parent 533018a6
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
r = dir_get(&toparse,path,"",S_IFREG) ;
if (!r && insist) strerr_diefu2sys(111,"get file from: ",path) ;
else if (!r && !insist)
else if ((!r && !insist) || !genalloc_len(stralist,&toparse))
{
argv++;
argc--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment