File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 168
168
rsync_version=$( rsync --version | grep ' version' | awk ' {print $3}' )
169
169
if awk " BEGIN {exit !($rsync_version < $min_rsync )}" & > /dev/null; then
170
170
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"
172
172
exit 1
173
173
fi
174
174
175
175
ssh_version=$( ssh -V 2>&1 | awk ' {print $1}' | grep -oPm 1 ' [\d\.]+' | head -1)
176
176
if awk " BEGIN {exit !($ssh_version < $min_openssh )}" & > /dev/null; then
177
177
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"
179
179
exit 1
180
180
fi
181
181
182
182
jq_version=$( jq --version | awk -F\- ' {print $2}' )
183
183
if awk " BEGIN {exit !($jq_version < $min_jq )}" & > /dev/null; then
184
184
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"
186
186
exit 1
187
187
fi
188
188
You can’t perform that action at this time.
0 commit comments