diff options
author | KlzXS <klzx+github@klzx.cf> | 2020-11-07 12:58:48 +0000 |
---|---|---|
committer | KlzXS <klzx+github@klzx.cf> | 2020-11-07 12:58:48 +0000 |
commit | e8803b8b6452a5e62e4c1f7910144a803241362d (patch) | |
tree | ac2bf04b307e474ede81f3fb73bff15d9e257832 | |
parent | 05bf019fbb42d85f94d56daf24c5f37fe4302f94 (diff) | |
download | nnn-e8803b8b6452a5e62e4c1f7910144a803241362d.tar.gz |
Fix shellchek error
-rwxr-xr-x | plugins/dups | 2 |
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" |