summaryrefslogtreecommitdiff
path: root/internal/command/commandargs
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2021-02-25 09:56:23 -0800
committerStan Hu <stanhu@gmail.com>2021-02-26 09:51:32 -0800
commit48ec7c61dcb0a5ba763cda89f369a23b9c27b037 (patch)
treefd25711a460c18dd7ad6c416d53d64cd5fef5f83 /internal/command/commandargs
parentc0a75dae6ec448c1c82eb94b58488cdd8f6759be (diff)
downloadgitlab-shell-48ec7c61dcb0a5ba763cda89f369a23b9c27b037.tar.gz
Fix gitlab-shell panic when log file not writable
Previously when the gitlab-shell log was not writable, gitlab-shell would attempt to fall back to the syslog to log an error. However, if the syslog logger creation succeeded, gitlab-shell would panic since `err` was `nil`. Relates to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/510
Diffstat (limited to 'internal/command/commandargs')
0 files changed, 0 insertions, 0 deletions