changeset 540:b61881cfe57f

Password string can contain blanks
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 06 Apr 2019 19:19:32 +0900
parents 9f51eb80c67b
children 4f66dc71ad2a
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Sat Apr 06 19:08:14 2019 +0900
+++ b/s4-funcs.sh	Sat Apr 06 19:19:32 2019 +0900
@@ -1148,7 +1148,7 @@
   [ x"$dbpswd" = x"$encpswd" ]
 }
 mypwhash() {
-  mycrypt `cat` `genrandom 5`
+  mycrypt "`cat`" `genrandom 5`
 }
 wasureta() {
   user=$1

yatex.org