mirror of
https://github.com/jarun/nnn.git
synced 2025-03-29 17:46:35 +00:00
Fix #223
This commit is contained in:
parent
2849da93e7
commit
f9036bd959
1 changed files with 2 additions and 1 deletions
|
@ -1187,8 +1187,9 @@ static void xrm(char *path)
|
|||
if (cfg.trash)
|
||||
spawn("trash-put", path, NULL, NULL, F_NORMAL);
|
||||
else {
|
||||
char rm_opts[] = {'-', confirm_force(), 'r'};
|
||||
char rm_opts[] = "-ir";
|
||||
|
||||
rm_opts[1] = confirm_force();
|
||||
spawn("rm", rm_opts, path, NULL, F_NORMAL);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue