xfstat_isreg(lockfd, &stabf, "lockfile");
xlstat_isreg(path_ductlock, &stab, &noent, "lockfile");
+
if (!noent && samefile(&stab, &stabf))
break;
if (sms==sm_DROPPING) {
notice("feed dropped and our work is complete"
" (but check for backlog files)");
+ r= unlink(path_ductlock);
+ if (r) sysdie("unlink lock file for old feed %s", path_ductlock);
exit(0);
}