guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: installer: Continue even if Connman cannot phone


From: guix-commits
Subject: branch master updated: installer: Continue even if Connman cannot phone home.
Date: Sat, 26 Feb 2022 10:09:09 -0500

This is an automated email from the git hooks/post-receive script.

pelzflorian pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new cc11905568 installer: Continue even if Connman cannot phone home.
cc11905568 is described below

commit cc11905568065409fe46487174e1cf404291bda1
Author: Florian Pelz <pelzflorian@pelzflorian.de>
AuthorDate: Sat Feb 12 12:47:56 2022 +0100

    installer: Continue even if Connman cannot phone home.
    
    Connman's online check is unreliable for me.
    
    * gnu/installer/connman.scm (connman-online?): Accept if
    connman state is ready instead of online.
---
 gnu/installer/connman.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/installer/connman.scm b/gnu/installer/connman.scm
index 2f33b58453..d21272036f 100644
--- a/gnu/installer/connman.scm
+++ b/gnu/installer/connman.scm
@@ -287,7 +287,7 @@ list so that each keys of a given technology are gathered 
in a separate list."
 
 (define (connman-online?)
   (let ((state (connman-state)))
-    (eq? state 'online)))
+    (memq state '(ready online))))
 
 (define (connman-connect-with-auth service password-proc)
   "Connect to the given SERVICE with the password returned by calling



reply via email to

[Prev in Thread] Current Thread [Next in Thread]