]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
sync: remove "detected" log message in packages/services
authorSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 19:19:42 +0000 (21:19 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 19:19:42 +0000 (21:19 +0200)
commit4e46a22dc5165611b254081597c65969c8c2ce39
tree51aeb0edd1659f5eb32c0df3872ab868f9f90f3b
parentbab6dfbc0ee5fb3ce2b84029ed118a5ba9af0a56
sync: remove "detected" log message in packages/services

Don't waste one full log message to show the detected system. Instead,
append it to an existing log message.

Reorder log call in syncPackagesDebian() so the log message comes before
calling debianInstalledPackages(). This way errors from this function
show clearly where they originate.
cmd/safcm-remote/sync/packages_debian.go
cmd/safcm-remote/sync/packages_debian_test.go
cmd/safcm-remote/sync/services_systemd.go
cmd/safcm-remote/sync/services_systemd_test.go