Fix funny bug

Signed-off-by: Aleksandar 'The Cobra' Widulski <thecobra@riseup.net>
This commit is contained in:
Aleksandar 'The Cobra' Widulski 2022-05-01 00:15:35 -04:00
parent f7dbd1b694
commit 9b6d88b0b9
No known key found for this signature in database
GPG Key ID: C8F7E7CA91BCBA64
1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,7 @@ complete -cf boas
# Random string (passwords)
randstr() {
tr -cd [:graph:] </dev/urandom | read -r -n 256 RAND
echo "$RAND"
tr -cd [:graph:] </dev/urandom | head -c 256
}
# Get CPU usage