From: Florian Pelz <pelzflorian@pelzflorian.de>
To: 53959@debbugs.gnu.org
Subject: [bug#53959] [PATCH] installer: Continue even if Connman cannot phone home.
Date: Sat, 12 Feb 2022 15:38:32 +0100 [thread overview]
Message-ID: <20220212143832.emgl7r3mdqfljgpe@pelzflorian.localdomain> (raw)
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..6095d99947 100644
--- a/gnu/installer/connman.scm
+++ b/gnu/installer/connman.scm
@@ -287,7 +287,7 @@ (define (connman-disconnect service)
(define (connman-online?)
(let ((state (connman-state)))
- (eq? state 'online)))
+ (member state '(ready online))))
(define (connman-connect-with-auth service password-proc)
"Connect to the given SERVICE with the password returned by calling
base-commit: 5996aab354831d942b10253bc70217a4f2e6a247
--
2.34.0
next reply other threads:[~2022-02-12 14:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-12 14:38 Florian Pelz [this message]
2022-02-26 15:13 ` bug#53959: [PATCH] installer: Continue even if Connman cannot phone home pelzflorian (Florian Pelz)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220212143832.emgl7r3mdqfljgpe@pelzflorian.localdomain \
--to=pelzflorian@pelzflorian.de \
--cc=53959@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.