View | Details | Raw Unified | Return to bug 245767
Collapse All | Expand All

(-)libpkg/pkg_ports.c (-3 / +3 lines)
Lines 1293-1299 Link Here
1293
    const char *reloc, bool testing)
1293
    const char *reloc, bool testing)
1294
{
1294
{
1295
	const char *location;
1295
	const char *location;
1296
	int rc = EPKG_OK;
1296
	int rc = EPKG_OK, frc;
1297
	UT_string *message;
1297
	UT_string *message;
1298
	struct pkg_message *msg;
1298
	struct pkg_message *msg;
1299
1299
Lines 1354-1360 Link Here
1354
	}
1362
	}
1355
1363
1356
cleanup:
1364
cleanup:
1357
	pkgdb_register_finale(db, rc, NULL);
1365
	frc = pkgdb_register_finale(db, rc, NULL);
1358
1366
1359
	return (rc);
1367
	return ((rc == EPKG_OK) ? frc : rc);
1360
}
1368
}

Return to bug 245767