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.
This commit is contained in:
parent
fafe2343c2
commit
ea6594e08e
1 changed files with 1 additions and 0 deletions
|
@ -393,6 +393,7 @@ interactive connmanctl process."
|
||||||
(dynamic-wind
|
(dynamic-wind
|
||||||
(const #t)
|
(const #t)
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
(setvbuf pipe 'line)
|
||||||
(run-connection-sequence pipe)
|
(run-connection-sequence pipe)
|
||||||
#t)
|
#t)
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|
Reference in a new issue