mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-30 18:37:12 +00:00
Try and reduce the odds of an extra quote in the password.
This commit is contained in:
parent
d718e818dc
commit
1dccbb9ccc
@ -149,7 +149,7 @@ if [ "$ADMINPW" = "" ] ; then
|
||||
# OK. They didn't supply one, and pwgen didn't work, so we hack something
|
||||
# together from /dev/random ...
|
||||
export LC_ALL=C
|
||||
ADMINPW="`dd if=/dev/urandom bs=512 count=1 2>/dev/null | tr -c -d "a-km-zA-HJ-NP-Y0-9" | cut -c2-9`"
|
||||
ADMINPW="`dd if=/dev/urandom bs=512 count=1 2>/dev/null | tr -c -d 'a-km-zA-HJ-NP-Y0-9' | cut -c2-9`"
|
||||
fi
|
||||
|
||||
if [ "$ADMINPW" = "" ] ; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user