tweak
This commit is contained in:
parent
e9fb756354
commit
5be57440ff
@ -29,7 +29,8 @@ genPassowrd () {
|
|||||||
sanitizeFile () {
|
sanitizeFile () {
|
||||||
tmp="$(mktemp)"
|
tmp="$(mktemp)"
|
||||||
sed -e "s/\r//g" "$1" > "$tmp"
|
sed -e "s/\r//g" "$1" > "$tmp"
|
||||||
mv "$tmp" "$1"
|
cat "$tmp" > "$1"
|
||||||
|
rm "$tmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -e "$PASSWD_LIST" ] ; then
|
if [ ! -e "$PASSWD_LIST" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user