From c53e82e2885535d97daa6474d3bde5fb6209bb3361364219c669b1e237179bbc Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 23 Jan 2019 13:40:34 +0000 Subject: [PATCH] - Fix it again, duh OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=132 --- cloud-init-no-empty-resolv.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-init-no-empty-resolv.patch b/cloud-init-no-empty-resolv.patch index 1eb9365..1efad05 100644 --- a/cloud-init-no-empty-resolv.patch +++ b/cloud-init-no-empty-resolv.patch @@ -5,7 +5,7 @@ for searchdomain in network_state.dns_searchdomains: content.add_search_domain(searchdomain) + if not str(content): -+ return content ++ return str(content) header = _make_header(';') content_str = str(content) if not content_str.startswith(header):