diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm index cc5722679..b740481eb 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm @@ -720,7 +720,7 @@ sub CopyTo { } # end foreach file. } # end if ! moved - return $error if $error; + return $error; } # end sub CopyTo sub MoveTo {