Commit 11cae65
committed
Issues caused due to random generator
function random() {
head /dev/urandom | tr -dc A-Za-z0-9 | head -c$1
}
to be replaced with
function random() {
head /dev/urandom | tr -dc 0-9 | head -c$1
}
System expects an number1 parent 853fcb2 commit 11cae65
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments