From 6d9840c6a8eb23b7a8de4436b50c00490f337482 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Wed, 3 Jun 2020 06:05:05 -0500 Subject: image: ensure entire line from iso-params file is read --- image/backends/iso.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image') diff --git a/image/backends/iso.cc b/image/backends/iso.cc index 4563c97..004cba8 100644 --- a/image/backends/iso.cc +++ b/image/backends/iso.cc @@ -407,7 +407,7 @@ public: if(!params) { output_warning("CD backend", "couldn't read ISO params"); } else { - params >> raw_arch; + std::getline(params, raw_arch); } } } -- cgit v1.2.3-70-g09d2