Fix gitlab-shell panic when log file not writable

If the log directory (e.g. /var/log/gitlab/gitlab-shell) is not writable, gitlab-shell will panic and fail to serve SSH connections.

This backports gitlab-shell!453 (merged) into the 13-9-stable-ee branch.

Relates to gitlab-shell#513 (closed)

Edited by Stan Hu

Merge request reports

Loading