summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)"