services: static-networking: Remove use of unbound variable.

Use of ‘G_’ was added in 670d985cab but
it’s actually unbound.

* gnu/services/base.scm (network-set-up/linux): Remove uses of ‘G_’,
which is unbound.

Change-Id: I6e879688ceee2fcb738e5e213cd3d539c9d89e20
This commit is contained in:
Ludovic Courtès 2025-06-04 12:45:42 +02:00
parent 728af8117e
commit 1cd221c9e9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3355,14 +3355,16 @@ to CONFIG."
(apply link-set
(link-id link)
(alist->keyword+value '#$arguments))
(format #t (G_ "Interface with name '~a' not found~%") #$name))))
(format #t "Interface with name '~a' not found~%"
#$name))))
((string? mac-address)
#~(let ((link (match-link-by link-addr #$mac-address)))
(if link
(apply link-set
(link-id link)
(alist->keyword+value '#$arguments))
(format #t (G_ "Interface with mac-address '~a' not found~%") #$mac-address)))))))
(format #t "Interface with mac-address '~a' not found~%"
#$mac-address)))))))
links)
;; 'wait-for-link' below could wait forever when