mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-22 15:35:09 +00:00
24716 is not random enough
This commit is contained in:
parent
2852e7875a
commit
aa391e24ba
@ -405,7 +405,7 @@ process_updates() {
|
||||
done
|
||||
}
|
||||
process_client() {
|
||||
local TMP="$TMPDIR/$RANDOM-MESSAGE"
|
||||
local TMP="$TMPDIR/$RANDOM$RANDOM-MESSAGE"
|
||||
echo "$UPDATE" >"$TMP"
|
||||
# Message
|
||||
MESSAGE[0]="$(echo -e "$(sed -n -e '/\["result",'$PROCESS_NUMBER',"message","text"\]/ s/.*\][ \t]"\(.*\)"$/\1/p' <"$TMP")" | sed 's#\\/#/#g')"
|
||||
|
Loading…
Reference in New Issue
Block a user