Skip to content
Snippets Groups Projects
Commit eb331006 authored by Yorhel's avatar Yorhel
Browse files

Fixed display bug on deletion error

parent 2a5c9a24
No related branches found
No related tags found
No related merge requests found
......@@ -194,12 +194,14 @@ delete_nxt:
if(r == -1 && !ignoreerr) {
state = DS_FAILED;
lasterrno = errno;
curdir = dr;
while(state == DS_FAILED)
if(input_handle(0))
return 1;
}
freedir(dr);
} else
freedir(dr);
if(r == -1 && root == dr)
return 1;
return 0;
}
......
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