Skip to content

Commit

Permalink
Fix jarun#223
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Mar 13, 2019
1 parent 2849da9 commit f9036bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit f9036bd

Please sign in to comment.