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

clean the script exit status #151

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

alexsander-souza
Copy link
Contributor

if the grep command doesn't find the boot partition mounted in /proc/mounts, it skips the umount command (as expected) but it leaves the script result code as 'failed' (undesired side-effect)

just running a successful command solves this issue. ('exit 0' also works)

fixes #149

if the `grep` command doesn't find the boot partition mounted in
/proc/mounts, it skips the `umount` command (as expected) but it leaves
the script result code as 'failed' (undesired side-effect)

just running a successful command solves this issue.
('exit 0' also works)

fixes canonical#149
Copy link
Member

@SK1Y101 SK1Y101 left a comment

Choose a reason for hiding this comment

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

+1

@alexsander-souza alexsander-souza merged commit 44a392a into canonical:main Oct 17, 2023
1 check passed
@alexsander-souza alexsander-souza deleted the fix_esxi_build branch October 17, 2023 15:56
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.

ESXI images fail to build under Mantic (kubuntu)
2 participants