s4

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 diff
     1.1 --- a/s4-funcs.sh	Sat Apr 06 19:08:14 2019 +0900
     1.2 +++ b/s4-funcs.sh	Sat Apr 06 19:19:32 2019 +0900
     1.3 @@ -1148,7 +1148,7 @@
     1.4    [ x"$dbpswd" = x"$encpswd" ]
     1.5  }
     1.6  mypwhash() {
     1.7 -  mycrypt `cat` `genrandom 5`
     1.8 +  mycrypt "`cat`" `genrandom 5`
     1.9  }
    1.10  wasureta() {
    1.11    user=$1