Commit 2736a43e authored by claes's avatar claes

Status is set to 0 when no config object is present

parent 95d72d8f
......@@ -1276,8 +1276,12 @@ pwr_tUInt32 bck_init ()
sts = gdh_GetNextObject(objid, &objid);
}
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);
LOCK;
......
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