commit e8803b8b6452a5e62e4c1f7910144a803241362d parent 05bf019fbb42d85f94d56daf24c5f37fe4302f94 Author: KlzXS <klzx+github@klzx.cf> Date: Sat, 7 Nov 2020 12:58:48 +0000 Fix shellchek error Diffstat:
| M | plugins/dups | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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"