summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nslcd_systemd/nslcd_systemd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd_systemd/nslcd_systemd.go b/nslcd_systemd/nslcd_systemd.go
index e920aab..d4ce084 100644
--- a/nslcd_systemd/nslcd_systemd.go
+++ b/nslcd_systemd/nslcd_systemd.go
@@ -191,7 +191,7 @@ func Main(backend Backend, limits nslcd_server.Limits) uint8 {
sd_daemon.Notification{State: "RELOADING=1"}.Send(false)
err := backend.Reload()
if err != nil {
- sd_daemon.Log.Notice(fmt.Sprintf("Could not reload backend: %s", err.Error()))
+ sd_daemon.Log.Notice(fmt.Sprintf("Could not reload backend: %v", err))
return sd_daemon.EXIT_NOTRUNNING
}
sd_daemon.Notification{State: "READY=1"}.Send(false)