aboutsummaryrefslogtreecommitdiff
path: root/internal/service/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/service/service.go')
-rw-r--r--internal/service/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/service/service.go b/internal/service/service.go
index 12f79dc..7d0ab83 100644
--- a/internal/service/service.go
+++ b/internal/service/service.go
@@ -189,8 +189,8 @@ func (s *Service) Mirror(arg *Mirror) error {
return fmt.Errorf("could not clone from '%s': %w", arg.From, err)
}
- if s.cfg.Verify != "" {
- err = runBash(downloadPath, s.cfg.Verify)
+ if arg.Verify != "" {
+ err = runBash(downloadPath, arg.Verify)
if err != nil {
return fmt.Errorf("verification failed: %w", err)
}