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
fix helper #135
fix helper #135
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Do you have any questions? |
Yes, why is there no help text anymore for the script itself, and why does it require 5 arguments now instead of 2? |
The old script with two arguments did not work at all. |
It can be fixed later if you want. |
@rfjakob What's up? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@rfjakob could you merge this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requiring 5 arguments is unneccessary, and the script needs to have a help text.
The old script works fine with 2 arguments on Fedora.
On the contrary, the helper accepts exactly five arguments in
This is how it works if you use this script via |
How do you use old script? How do you connect it to |
OK, but earlyoom uses more then 2 arguments.
OK
OK, it silently shows a notification.
No notification was shown. Is it OK? The old script is completely incompatible with earlyoom. |
You broke the original script (https://github.com/hakavlad/notify-send-root-wrapper). Original script and new script just work. Your version of the script does not work as intended. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Done. And it works with any |
Merged as 23bb71a , thanks |
No description provided.