mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-21 17:06:22 +00:00
Correct backslash replacement in pwgen generated password.
This commit is contained in:
parent
2a40c39d93
commit
73e7f73f2a
@ -33,7 +33,7 @@ if [ "${ADMINPW}" = "" ] ; then
|
||||
#
|
||||
# Generate a random administrative password. If pwgen is available we'll use that,
|
||||
# otherwise try and hack something up using a few standard utilities
|
||||
ADMINPW="`pwgen -Bcny 2>/dev/null | tr \"\\\'\" '^='`"
|
||||
ADMINPW="`pwgen -Bcny 2>/dev/null | tr \"\\\\\'\" '^='`"
|
||||
fi
|
||||
|
||||
if [ "$ADMINPW" = "" ] ; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user