This commit is contained in:
Philippe Caseiro 2022-06-29 17:05:34 +02:00
parent e471b654a6
commit e7db46bc6f
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ func (hr *APKRepository) Add() error {
defer file.Close() defer file.Close()
if _, err := file.WriteString(data); err != nil { if _, err := file.WriteString(data); err != nil {
return err return err
} else {
log.Printf("Repository %s added\n", hr.Name)
} }
return nil return nil
} }