Skip to content

Conversation

@RKNF404
Copy link
Collaborator

@RKNF404 RKNF404 commented Jan 24, 2026

No description provided.

@RKNF404 RKNF404 marked this pull request as ready for review January 24, 2026 04:57
declare -rx WAYLAND_DISPLAY="${WAYLAND_DISPLAY:-}"

# Exit immediately if run as root
if [ "$(id -u)" -eq 0 ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why was this moved?

Copy link
Collaborator Author

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.

Copy link
Contributor

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?

Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants