summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-01-28 07:20:14 +0000
committerKatolaZ <katolaz@freaknet.org>2019-01-28 07:20:14 +0000
commit85edc980a0b9e83070948f52b404c0b425a437c7 (patch)
tree44c8415d984d78a51d55ee17eda6750ed31ca5fb
parent409c0500337ea69259999901b613798e50c991b6 (diff)
minor fixes in var names
-rwxr-xr-xphrollo2
1 files changed, 1 insertions, 1 deletions
diff --git a/phrollo b/phrollo
index 25d5ca1..89a7574 100755
--- a/phrollo
+++ b/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)"