Skip to content

Commit

Permalink
Avoid trying to autostart settings handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Aug 9, 2024
1 parent 7bfab1c commit 4db7526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func ReadAll(namespaces []string) (map[string](map[string]dbus.Variant), error)
}

obj := conn.Object(apis.ObjectName, apis.ObjectPath)
call := obj.Call(readAllCallPath, 0, namespaces)
call := obj.Call(readAllCallPath, dbus.FlagNoAutoStart, namespaces)
if call.Err != nil {
return nil, call.Err
}
Expand All @@ -48,7 +48,7 @@ func read(callPath, namespace, key string) (any, error) {
}

obj := conn.Object(apis.ObjectName, apis.ObjectPath)
call := obj.Call(callPath, 0, namespace, key)
call := obj.Call(callPath, dbus.FlagNoAutoStart, namespace, key)
if call.Err != nil {
return nil, call.Err
}
Expand Down

0 comments on commit 4db7526

Please sign in to comment.