Skip to content

Commit bdcc563

Browse files
committed
Remove redundant quotes
1 parent 10fa9dd commit bdcc563

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/ghe-host-check

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,21 +168,21 @@ fi
168168
rsync_version=$(rsync --version | grep 'version' | awk '{print $3}')
169169
if awk "BEGIN {exit !($rsync_version < $min_rsync)}" &> /dev/null; then
170170
echo "rsync version $rsync_version in backup-host does not meet minimum requirements."
171-
echo "Please make sure you have the minimum required version of rsync: "$min_rsync" installed"
171+
echo "Please make sure you have the minimum required version of rsync: $min_rsync installed"
172172
exit 1
173173
fi
174174

175175
ssh_version=$(ssh -V 2>&1 | awk '{print $1}'|grep -oPm 1 '[\d\.]+' |head -1)
176176
if awk "BEGIN {exit !($ssh_version < $min_openssh)}" &> /dev/null; then
177177
echo "openSSH version $ssh_version in backup-host does not meet minimum requirements."
178-
echo "Please make sure the minimum required version of openSSH: "$min_openssh" is installed"
178+
echo "Please make sure the minimum required version of openSSH: $min_openssh is installed"
179179
exit 1
180180
fi
181181

182182
jq_version=$(jq --version |awk -F\- '{print $2}')
183183
if awk "BEGIN {exit !($jq_version < $min_jq)}" &> /dev/null; then
184184
echo "jq version $jq_version in backup-host does not meet minimum requirements."
185-
echo "Please make sure you have the minimum required version of jq: "$min_jq" installed"
185+
echo "Please make sure you have the minimum required version of jq: $min_jq installed"
186186
exit 1
187187
fi
188188

0 commit comments

Comments
 (0)