diff --git a/cmd/signaldctl/cmd/root.go b/cmd/signaldctl/cmd/root.go index 51a8749..4f75fa8 100644 --- a/cmd/signaldctl/cmd/root.go +++ b/cmd/signaldctl/cmd/root.go @@ -50,7 +50,7 @@ var RootCmd = &cobra.Command{ return } - common.Signald = &signald.Signald{SocketPath: config.Config.SocketPath} + common.Signald = &signald.Signald{SocketPath: socketPath} if err := common.Signald.Connect(); err != nil { log.Fatal(err) }