Skip to content

Commit

Permalink
Fixed argument order and variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Zi1mo5zo committed Nov 22, 2018
1 parent 787ff5b commit 83226ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipfs-wormhole.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ function checkdep() {
# Generate Passwords, the default length is 40 characters

function generate_password() {
local TEMP_PASSWORD=$(< /dev/urandom tr -dc A-Za-z0-9 | head -c${1:-40})
echo $TEMP_PASSWORD
local TEMPPASSWORD=$(tr </dev/urandom -dc A-Za-z0-9 | head -c${1:-40})
echo "$TEMPPASSWORD"
}

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

0 comments on commit 83226ad

Please sign in to comment.