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

[dev.icinga.com #5412] binary return codes should be forwarded by init scripts #1412

Closed
icinga-migration opened this issue Jan 3, 2014 · 1 comment

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/5412

Created by mfriedrich on 2014-01-03 16:39:19 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2014-01-03 17:10:11 +00:00)
Target Version: 1.11
Last Update: 2014-01-03 17:10:11 +00:00 (in Redmine)

Icinga Version: 1.10.2
OS Version: any

ido2db fails for example on the preliminary db schema version check

imagine ~ # /etc/init.d/ido2db start
Starting ido2db: ERROR: DB Version Check failed! Please check mysql database configuration, schema and syslog for details! Bailing out ... done.
imagine ~ # echo $?
1

Changesets

2014-01-03 16:55:41 +00:00 by (unknown) 2213188

Initscript: Handle binary return codes gracefully.

This applies mainly for ido2db startup checks, and should return 1
instead of the default 0 exit code.

Refs #5412

2014-01-03 16:56:54 +00:00 by (unknown) d9e7007

Merge branch 'fix/bin-exit-code-5412' into next

Fixes #5412

2014-01-03 17:09:00 +00:00 by (unknown) cd1d7a0

Update Changelog.

Refs #5272
Refs #5324
Refs #5412
Refs #5406
@icinga-migration
Copy link
Author

Updated by Anonymous on 2014-01-03 17:10:11 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset d9e7007.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant