services: inputattach: Fix broken baud rate option.

* gnu/services/desktop.scm (inputattach-shepherd-service): Use "--baud" for
setting the baud-rate.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Tim Gesthuizen 2020-02-06 19:26:03 +01:00 committed by 宋文武
parent f83d07f777
commit daec54f062
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -1070,7 +1070,7 @@ (define inputattach-shepherd-service
(match-lambda
(($ <inputattach-configuration> type device baud-rate log-file)
(let ((args (append (if baud-rate
(list "--baud-rate" (number->string baud-rate))
(list "--baud" (number->string baud-rate))
'())
(list (string-append "--" type)
device))))