mirror: Only say we're unlinking the file if we actually are

This commit is contained in:
nick
2013-05-30 11:05:26 +01:00
parent a5a7d45355
commit 76cf2dc7b9

View File

@@ -248,8 +248,8 @@ void mirror_on_exit( struct server * serve )
debug("serve_wait_for_close");
serve_wait_for_close( serve );
debug("Unlinking %s", serve->filename );
if ( ACTION_UNLINK == serve->mirror->action_at_finish ) {
debug("Unlinking %s", serve->filename );
server_unlink( serve );
}