Skip to content

Commit

Permalink
Fix code violation
Browse files Browse the repository at this point in the history
Fix code violation

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
  • Loading branch information
bensuperpc committed Jul 28, 2021
1 parent 284d60d commit fbd6dca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

# These are supported funding model platforms

github: bensuperpc
patreon:
open_collective: # Replace with a single Open Collective username
Expand Down
4 changes: 2 additions & 2 deletions linux/passwordgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set -euo pipefail
#//////////////////////////////////////////////////////////////

if (( $# == 1 )); then
echo "$(cat /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | head -c"${1:-$1}")"
less -f /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | head -c"${1:-$1}"
else
echo "$(cat /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | head -c"${1:-48}")"
less -f /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | head -c"${1:-48}"
fi

0 comments on commit fbd6dca

Please sign in to comment.