Fix shellchek error

This commit is contained in:
KlzXS 2020-11-07 12:58:48 +00:00
parent 05bf019fbb
commit e8803b8b64
No known key found for this signature in database
GPG key ID: 6F2A29F874A14243

View file

@ -62,7 +62,7 @@ read -r force
rmcmd="'rm -$force \"\$0\" \"\$@\" < /dev/tty'" rmcmd="'rm -$force \"\$0\" \"\$@\" < /dev/tty'"
# shellcheck disable=SC2016 # 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" rm "$tmpfile"