aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/dups
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dups')
-rwxr-xr-xplugins/dups4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dups b/plugins/dups
index 02954e8..98e8f72 100755
--- a/plugins/dups
+++ b/plugins/dups
@@ -58,10 +58,10 @@ read -r force
if [ "$force" = "f" ]; then
#shellcheck disable=SC2016
- sed -E "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 sh -c 'rm -f "$0" "$@" </dev/tty'
+ sed -E "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 -r sh -c 'rm -f "$0" "$@" </dev/tty'
else
#shellcheck disable=SC2016
- sed -E "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 sh -c 'rm -i "$0" "$@" </dev/tty'
+ sed -E "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 -r sh -c 'rm -i "$0" "$@" </dev/tty'
fi
rm "$tmpfile"