fixed small bug in log output

This commit is contained in:
Daniel Schick 2024-10-23 07:27:14 +02:00
parent d299a286a9
commit 3c1e35a012

View File

@ -191,7 +191,7 @@ namespace bsmd.dakosy
RemovalOperationResult removalResult = session.RemoveFiles(remoteDir + "/*.*"); RemovalOperationResult removalResult = session.RemoveFiles(remoteDir + "/*.*");
if ((removalResult.IsSuccess) && (removalResult.Removals.Count > 0)) if ((removalResult.IsSuccess) && (removalResult.Removals.Count > 0))
{ {
_log.InfoFormat("Removed {0} downloaded files on remote host", removalResult.Removals); _log.InfoFormat("Removed {0} downloaded file(s) on remote host", removalResult.Removals.Count);
} }
if (!removalResult.IsSuccess) if (!removalResult.IsSuccess)
{ {