Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Ignore certain exit codes of zypper #79

Merged
merged 1 commit into from
Nov 26, 2015

Conversation

flavio
Copy link
Member

@flavio flavio commented Nov 26, 2015

Do not cause a patch/update operation to fail just because zypper
didn't exit with 0. In certain cases we can ignore an exit code that is
different from 0.

For example: if zypper updates itself it will recommend to restart the
system and will exit with 103. In that case we can safely ignore the
exit code and commit the changes to a new image.

Signed-off-by: Flavio Castelli fcastelli@suse.com

Do not cause a patch/update operation to fail just because zypper
didn't exit with 0. In certain cases we can ignore an exit code that is
different from 0.

For example: if zypper updates itself it will recommend to restart the
system and will exit with 103. In that case we can safely ignore the
exit code and commit the changes to a new image.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
mssola added a commit that referenced this pull request Nov 26, 2015
@mssola mssola merged commit 1323d8d into master Nov 26, 2015
@mssola mssola deleted the ignore-certain-zypper-exit-codes branch December 3, 2015 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants