Commit 2736a43e authored by claes's avatar claes

Status is set to 0 when no config object is present

parent 95d72d8f
...@@ -1276,7 +1276,11 @@ pwr_tUInt32 bck_init () ...@@ -1276,7 +1276,11 @@ pwr_tUInt32 bck_init ()
sts = gdh_GetNextObject(objid, &objid); sts = gdh_GetNextObject(objid, &objid);
} }
UNLOCK; UNLOCK;
if (EVEN(sts)) return sts; /* Something wrong, quit */ if (EVEN(sts)) {
errh_Info("No BackupConfig object found, rt_bck will not run");
errh_SetStatus(0);
exit(1);
}
aproc_RegisterObject( objid); aproc_RegisterObject( objid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment