Skip to content

Commit c58de4a

Browse files
committed
Remove >= GHE 2.x requirement
Verified logger(1) works as intended on 11.10.34x as well so we should be fine here.
1 parent 170d26c commit c58de4a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

share/github-backup-utils/ghe-backup-config

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,6 @@ ssh_port_part () {
238238
# Log a message to /var/log/syslog on the remote instance.
239239
# Note: Use sparingly. Remote logging requires an ssh connection per invocation.
240240
ghe_remote_logger () {
241-
if [ "$GHE_VERSION_MAJOR" -lt 2 ]; then
242-
return 0
243-
fi
244-
245241
echo "$@" |
246242
ghe-ssh "$GHE_HOSTNAME" -- logger -t backup-utils || true
247243
}

0 commit comments

Comments
 (0)