Merge pull request #269 from imjfckm/dont-fail-on-missing-config
Don't fail boot if opencas config is missing
This commit is contained in:
commit
4acc7fb328
@ -109,7 +109,8 @@ def settle(timeout, interval):
|
|||||||
not_initialized = opencas.wait_for_startup(timeout, interval)
|
not_initialized = opencas.wait_for_startup(timeout, interval)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
eprint(e)
|
eprint(e)
|
||||||
exit(1)
|
# Don't fail the boot if we're missing the config
|
||||||
|
exit(0)
|
||||||
|
|
||||||
if not_initialized:
|
if not_initialized:
|
||||||
eprint("Open CAS initialization failed. Couldn't set up all required devices")
|
eprint("Open CAS initialization failed. Couldn't set up all required devices")
|
||||||
|
Loading…
Reference in New Issue
Block a user