Skip to content

Commit

Permalink
Fix what I broke
Browse files Browse the repository at this point in the history
Sorry!
  • Loading branch information
airencracken committed Nov 22, 2018
1 parent e2ee33d commit 0b8eb9e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ipfs-wormhole.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ function checkdep() {
# Generate Passwords, the default length is 40 characters

function generate_password() {
set +o pipefail
tr </dev/urandom -dc A-Za-z0-9 | head -c${1:-40}
set -o pipefail
local temp_password=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-40})
echo $temp_password
}

case "${1:-}" in
Expand Down

0 comments on commit 0b8eb9e

Please sign in to comment.