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

Fix swap.sh #3897

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Fix swap.sh #3897

merged 1 commit into from
Jan 12, 2023

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jan 12, 2023

Fixes #3896

The script used to compare “10M” with “10” as if they were both integers.
We now convert the left value into an integer before comparing it to the block size.

Signed-off-by: David Gageot david.gageot@docker.com

The script used to compare “10M” with “10” as if
they were both integers.

Signed-off-by: David Gageot <david.gageot@docker.com>
@deitch deitch merged commit f9f1ec7 into linuxkit:master Jan 12, 2023
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.

[swap package] swap.sh sometimes fails to run
2 participants