Fix the number of characters being put out from genpasswd (#143)
This commit is contained in:
parent
a9c977c1ce
commit
ee50512d40
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
l=$1
|
l=$1
|
||||||
[ "$l" == "" ] && l=32
|
[ "$l" == "" ] && l=32
|
||||||
openssl rand -base64 $l
|
openssl rand -base64 $l | cut -c-$l
|
||||||
|
|
Loading…
Reference in a new issue