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

Make source path absolute for Ruby scripts #182

Merged
merged 1 commit into from
Jul 5, 2020
Merged

Make source path absolute for Ruby scripts #182

merged 1 commit into from
Jul 5, 2020

Conversation

rtpt-alexanderneumann
Copy link
Contributor

I've noticed that needrestart always detects Ruby programs started with a relative path as to be restarted. When comparing the Ruby to the Perl or Python module, it looked like there's a missing call to abs_path() for the source path. Inserting the call resolves my issue.

Please let me know if there's anything else I need to do.

@liske liske added the bug label Jul 5, 2020
@liske liske merged commit d97f59b into liske:master Jul 5, 2020
@liske
Copy link
Owner

liske commented Jul 5, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants