Get rid of Mac-Newlines

This commit is contained in:
Bandie 2022-07-02 15:06:11 +02:00
parent 8c232699c3
commit 940af82f84
Signed by: Bandie
GPG Key ID: 7FA4FD7D1D7997C2

View File

@ -41,7 +41,7 @@ rm -f ${temp_outfile}
fi
if [ "$valid" = true ]; then
echo "command=\"/usr/sbin/foodoor \$action \",no-port-forwarding,no-X11-forwarding,no-agent-forwarding $(cat ${keyfile})" >> ${temp_outfile}
echo "command=\"/usr/sbin/foodoor \$action \",no-port-forwarding,no-X11-forwarding,no-agent-forwarding $(cat ${keyfile} | sed 's/\r//g')" >> ${temp_outfile}
fi
fi
done