mirror of
https://git.phreedom.club/localhost_frssoft/bbs-telnet
synced 2024-11-23 19:59:19 +02:00
removed "cat -" pipe, it works fine as is
This commit is contained in:
parent
83194c4083
commit
0412550d45
|
@ -26,7 +26,7 @@ mkdir -p -m 700 access_granted
|
|||
generator_session=$(zcat -f $system_dict | shuf -n 2 | tr -d "\n'")
|
||||
randpadding=$(head -c 8 /dev/urandom | base64)
|
||||
printf "$randpadding\t$generator_session\n"
|
||||
cat - |
|
||||
|
||||
while read -r cmd mesg; do
|
||||
if [ "$cmd" = "reg" ]; then
|
||||
key=$(echo "$mesg" | cut -d' ' -f 2)
|
||||
|
|
Loading…
Reference in New Issue