formatting

This commit is contained in:
Vlad Doster 2020-04-10 15:40:34 -05:00 committed by GitHub
parent 2feb276f2f
commit 432a29f8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,9 +17,9 @@ read -r -a delete_these_lines <<< "$deduped_args"
# Loop through creating sed expression
for var in "${delete_these_lines[@]}"; do
if [[ "$var" -gt "$lines_in_known_hosts" ]]; then
echo "$var is invalid line in $lines_in_known_hosts line $known_hosts_path"
echo "$var is invalid line in $lines_in_known_hosts line $known_hosts_path"
else
lines_to_delete+="${var}d;"
lines_to_delete+="${var}d;"
fi
done
# Output information to user about what happened