Removed silencing of error
This commit is contained in:
parent
9b3c13c164
commit
ac3ea81f41
@ -293,7 +293,7 @@ ${SSH_LINES_TO_ADD}"
|
|||||||
|
|
||||||
SSH_BACKUP_FILE="${SSH_CONFIG_FILE}.bak.$(date +%Y-%m-%dT%H:%M:%S)"
|
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}"
|
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}"
|
log "info" "Searching for a Host entry for ${ssh_host_name} within ${SSH_CONFIG_FILE}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user