Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pppd: make pid directory before create the pid file #536

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

DragonBluep
Copy link
Contributor

No description provided.

@Neustradamus
Copy link
Member

@paulusmack: Have you seen this @DragonBluep PR?

@paulusmack
Copy link
Collaborator

I think I'd prefer it without the #ifdef.

@DragonBluep
Copy link
Contributor Author

I think I'd prefer it without the #ifdef.

Fixed. Thanks.

If multilink feature is not enabled, the '/var/run/pppd' directory
won't be created before adding pid file.

Fixes error message:
'Failed to create pid file /var/run/pppd/pppoe-wan.pid: No such file or directory'

Signed-off-by: Shiji Yang <[email protected]>
@paulusmack paulusmack merged commit 734bc04 into ppp-project:master Nov 26, 2024
31 checks passed
@Neustradamus Neustradamus removed the request for review from paulusmack November 26, 2024 13:35
@DragonBluep DragonBluep deleted the pid-file branch November 27, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants