From e8803b8b6452a5e62e4c1f7910144a803241362d Mon Sep 17 00:00:00 2001 From: KlzXS Date: Sat, 7 Nov 2020 12:58:48 +0000 Subject: [PATCH] Fix shellchek error --- plugins/dups | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dups b/plugins/dups index a8864127..e409a5e4 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"