Commit 2510e67c authored by claes's avatar claes

Look for flw files in pwr_load also

parent e9900551
......@@ -128,8 +128,14 @@ static int trace_get_filename( pwr_tObjid window_objid, char *filename,
sprintf( fname, "$pwrp_load/pwr_%s.flw", cname);
dcli_translate_filename( fname, fname);
fp = fopen( fname, "r");
if ( !fp)
return 0;
if ( !fp) {
/* Try base load */
sprintf( fname, "$pwr_load/pwr_%s.flw", cname);
dcli_translate_filename( fname, fname);
fp = fopen( fname, "r");
if ( !fp)
return 0;
}
sts = gdh_ObjidToName( host, name, sizeof(name),
cdh_mName_volumeStrict);
......
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