Commit accc6314 authored by claes's avatar claes

Skip backup objects in template plc

parent a1dcaaba
......@@ -981,6 +981,14 @@ void bck_list_build (
UNLOCK;
while (ODD(sts)) {
if ( objid.vid < cdh_cUserVolMin) {
// In template plc, continue
LOCK;
sts = gdh_GetNextObject(objid, &objid);
UNLOCK;
continue;
}
/* Find body of backup object */
LOCK;
......
......@@ -449,6 +449,13 @@ pwr_tStatus bck_print( char *filename)
sts = gdh_GetClassList( pwr_cClass_Backup, &objid);
while ( ODD(sts)) {
if ( objid.vid < cdh_cUserVolMin) {
// In template plc, continue
sts = gdh_GetNextObject(objid, &objid);
continue;
}
sts = gdh_ObjidToName( objid, objname, sizeof(objname), cdh_mName_volumeStrict);
if ( EVEN(sts)) return sts;
......
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