This commit is contained in:
Adrian Amaglio 2022-01-18 22:16:45 +01:00
parent e9fb756354
commit 5be57440ff

View File

@ -29,7 +29,8 @@ genPassowrd () {
sanitizeFile () {
tmp="$(mktemp)"
sed -e "s/\r//g" "$1" > "$tmp"
mv "$tmp" "$1"
cat "$tmp" > "$1"
rm "$tmp"
}
if [ ! -e "$PASSWD_LIST" ] ; then