minor fixes in var names

master
KatolaZ 6 years ago
parent 409c050033
commit 85edc980a0
  1. 2
      phrollo

@ -5,7 +5,7 @@
FILEIN="${1:-/dev/stdin}"
IFS=' '
while read -r D T S H P SH; do
NSH="$(printf "$S\r\n" | nc $H $P | shasum -a 256 | cut -d " " -f 1)"
NSH="$(printf "$S\r\n" | nc "$H" "$P" | shasum -a 256 | cut -d " " -f 1)"
[ $? -eq 0 ] &&
[ "${SH}" != "${NSH}" ] && {
D="$(date +%Y%m%d)"

Loading…
Cancel
Save