shadow: End duplicate warnings with new lines.

The change from formatted message causes the line to no longer automatically
be ended.  This will need to be reverted once again, when duplicate names
become hard errors.

* gnu/system/shadow.scm (assert-unique-account-names)
(assert-unique-group-names): End format strings in ~%.
This commit is contained in:
Leo Prikler 2021-01-14 13:53:35 +01:00
parent eb11e1e180
commit 239af11a69
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -251,7 +251,7 @@ (define (assert-unique-account-names users)
(() *unspecified*)
(duplicates
(warning
(G_ "the following accounts appear more than once:~{ ~a~}")
(G_ "the following accounts appear more than once:~{ ~a~}~%")
duplicates))))
(define (assert-unique-group-names groups)
@ -259,7 +259,7 @@ (define (assert-unique-group-names groups)
(() *unspecified*)
(duplicates
(warning
(G_ "the following groups appear more than once:~{ ~a~}")
(G_ "the following groups appear more than once:~{ ~a~}~%")
duplicates))))
(define (assert-valid-users/groups users groups)