diff options
author | Mathieu Othacehe <m.othacehe@gmail.com> | 2020-04-19 11:41:40 +0200 |
---|---|---|
committer | Mathieu Othacehe <m.othacehe@gmail.com> | 2020-04-19 11:46:21 +0200 |
commit | ea6594e08e2724c64bc07724a07479fc1633dede (patch) | |
tree | d83eed89bd4ab877f7b54ed354462f45308a0808 /gnu/installer | |
parent | fafe2343c29bcb02fcee79558fbd8ae2ba2c1214 (diff) | |
download | patches-ea6594e08e2724c64bc07724a07479fc1633dede.tar patches-ea6594e08e2724c64bc07724a07479fc1633dede.tar.gz |
installer: connman: Fix Wifi connection.
Issue reported by SergioBG here:
https://lists.gnu.org/archive/html/bug-guix/2020-04/msg00432.html.
Due to default buffering mode, the installer was reading from the pipe without
having actually written a command before.
* gnu/installer/connman.scm (connman-connect-with-auth): Set pipe buffering
mode to 'line.
Diffstat (limited to 'gnu/installer')
-rw-r--r-- | gnu/installer/connman.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/installer/connman.scm b/gnu/installer/connman.scm index 7f47b9af77..386f431ced 100644 --- a/gnu/installer/connman.scm +++ b/gnu/installer/connman.scm @@ -393,6 +393,7 @@ interactive connmanctl process." (dynamic-wind (const #t) (lambda () + (setvbuf pipe 'line) (run-connection-sequence pipe) #t) (lambda () |