diff --git a/apt.go b/apt.go index cf9a074..df37dcd 100644 --- a/apt.go +++ b/apt.go @@ -21,19 +21,15 @@ func initPackages() { new1 := new(zoopb.Package) new1.Name = pkg new1.Version = version - if me.packages.Append(new1) { - // log.Info("added", new1.Name, "ok") - } else { - log.Info("added", new1.Name, "failed") - } + me.packages.Append(new1) } log.Info(me.hostname, "has distro", me.distro, "with", me.packages.Len(), "packages installed") } -func addNew(name string, version string) bool { +func addNew(name string, version string) { new1 := new(zoopb.Package) new1.Name = name new1.Version = version - return me.packages.Append(new1) + me.packages.Append(new1) }