mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3731] Exit code should be non-zero when due to errors #2968
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2968
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @riaqn on GitHub (Oct 30, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3731
Bug Description
Log:
Output of
systemctl status frpc.service:Exit code of the process should not be zero when due to errors. In particular, the restart mechanism of
systemdrelies on the exit code of frpc to decide if to restart. Sure, I can setRestart=alwaysto restart even if exit code is zero, but this needs to be fixed.frpc Version
0.51.3
frps Version
0.51.3
System Architecture
linux/amd64
Configurations
Doesn't matter.
Logs
No response
Steps to reproduce
...
Affected area