From 85edc980a0b9e83070948f52b404c0b425a437c7 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 28 Jan 2019 07:20:14 +0000 Subject: minor fixes in var names --- phrollo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- cgit v1.2.3