mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
parent
5884ef8425
commit
1f75dfd95d
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ int remove(bool recursive, String path)
|
|||
builder.append('/');
|
||||
builder.append(de->d_name);
|
||||
int s = remove(true, builder.to_string());
|
||||
if (s < 0)
|
||||
if (s != 0)
|
||||
return s;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue