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

Convert uname variable to global variable #159

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

IvDoorn
Copy link
Contributor

@IvDoorn IvDoorn commented Nov 23, 2023

The command uname -m is executed multiple times, and it would be nicer to move it to a global variable for reuse. At the same time, we should rename the variable to a better name.

The command `uname -m` is executed multiple times, and it would
be nicer to move it to a global variable for reuse. At the same
time, we should rename the variable to a better name.

Signed-off-by: Ivo van Doorn <[email protected]>
@schurzi
Copy link
Contributor

schurzi commented Nov 24, 2023

nice simplification, thank you!

@schurzi schurzi merged commit a71bc1e into dev-sec:master Nov 24, 2023
4 checks passed
@IvDoorn IvDoorn deleted the Move-uname-to-global-variable branch November 28, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants