mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Fixed display bug on deletion error
This commit is contained in:
parent
2a5c9a242f
commit
eb3310060f
1 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue