-
-
Notifications
You must be signed in to change notification settings - Fork 19
chore(wrapper): various adjustments including potential fix for singleton deletion #588
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
base: live
Are you sure you want to change the base?
Conversation
| declare -rx WAYLAND_DISPLAY="${WAYLAND_DISPLAY:-}" | ||
|
|
||
| # Exit immediately if run as root | ||
| if [ "$(id -u)" -eq 0 ]; then |
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.
why was this moved?
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.
Just so that it happens after variable sanitation.
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.
@RKNF404 what's the benefit there though? shouldn't we exit ASAP?
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.
Mainly to control PATH, but I guess it doesn't really matter here. We would still be exiting ASAP, no commands are executed so it makes no fundamental difference in that sense.
No description provided.