aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGravatar KlzXS <klzx+github@klzx.cf>2020-11-07 12:58:48 +0000
committerGravatar KlzXS <klzx+github@klzx.cf>2020-11-07 12:58:48 +0000
commite8803b8b6452a5e62e4c1f7910144a803241362d (patch)
treeac2bf04b307e474ede81f3fb73bff15d9e257832 /plugins
parent05bf019fbb42d85f94d56daf24c5f37fe4302f94 (diff)
downloadnnn-e8803b8b6452a5e62e4c1f7910144a803241362d.tar.gz
Fix shellchek error
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/dups2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dups b/plugins/dups
index a886412..e409a5e 100755
--- a/plugins/dups
+++ b/plugins/dups
@@ -62,7 +62,7 @@ read -r force
rmcmd="'rm -$force \"\$0\" \"\$@\" < /dev/tty'"
# shellcheck disable=SC2016
-sed -e $sedcmd "$tmpfile" | tr '\n' '\0' | xargs -0 sh -c "$rmcmd"
+sed -e "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 sh -c "$rmcmd"
rm "$tmpfile"