1
0
Fork 0

Fix failure manager warning

ironically the warning message was causing a more serious failure.
This commit is contained in:
Richard Harrison 2019-12-11 17:50:53 +01:00
parent e3c975f23e
commit 94c9f3b428

View file

@ -127,7 +127,7 @@ var _failmgr = {
add_failure_mode: func(mode) {
contains(me.failure_modes, mode.id) and
die("add_failure_mode: failure mode already exists: " ~ id);
die("add_failure_mode: failure mode already exists: " ~ mode.id);
me.failure_modes[mode.id] = { mode: mode, trigger: nil };
mode.bind(proproot);