Removed silencing of error

This commit is contained in:
Price Hiller 2021-10-06 00:11:10 -05:00
parent 9b3c13c164
commit ac3ea81f41

View File

@ -293,7 +293,7 @@ ${SSH_LINES_TO_ADD}"
SSH_BACKUP_FILE="${SSH_CONFIG_FILE}.bak.$(date +%Y-%m-%dT%H:%M:%S)"
log "info" "Backing up ${SSH_CONFIG_FILE} to ${SSH_BACKUP_FILE}"
cp "${SSH_CONFIG_FILE}" "${SSH_BACKUP_FILE}" > /dev/null 2>&1
cp "${SSH_CONFIG_FILE}" "${SSH_BACKUP_FILE}" > /dev/null
log "info" "Searching for a Host entry for ${ssh_host_name} within ${SSH_CONFIG_FILE}"