Commit ff601dea authored by Roman Alifanov's avatar Roman Alifanov

Use MAXINT64 timeout for D-Bus upgrade calls

parent ee8ecd9d
......@@ -96,7 +96,7 @@ func (s *SystemUpdatesSource) RunUpgrade(
"Upgrade",
args,
gio.DBusCallFlagsNone,
-1,
glib.MAXINT64,
)
if err != nil {
......@@ -206,7 +206,7 @@ func (s *KernelUpdatesSource) RunUpgrade(
"UpdateKernel",
args,
gio.DBusCallFlagsNone,
-1,
glib.MAXINT64,
)
if err != nil {
log.Println("Upgrade error:", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment