teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0113-core-do-not-use-quotes-around-virt-and-arch.patch

803fb7
From f7ef062a0fb0dd0a6560d00e579c496e164a1c85 Mon Sep 17 00:00:00 2001
803fb7
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
803fb7
Date: Sat, 14 Mar 2015 21:49:10 -0400
803fb7
Subject: [PATCH] core: do not use quotes around virt and arch
803fb7
803fb7
Quotes are useful when the string can contain spaces or be otherwise
803fb7
confusing. Not possible with those two.
803fb7
803fb7
(cherry picked from commit d3f86679783aee216d60b125acfb5f39a0df555f)
803fb7
---
803fb7
 src/core/main.c | 4 ++--
803fb7
 1 file changed, 2 insertions(+), 2 deletions(-)
803fb7
803fb7
diff --git a/src/core/main.c b/src/core/main.c
803fb7
index ba2de85bd..fd527d4d6 100644
803fb7
--- a/src/core/main.c
803fb7
+++ b/src/core/main.c
803fb7
@@ -1537,11 +1537,11 @@ int main(int argc, char *argv[]) {
803fb7
 
803fb7
                 detect_virtualization(&virtualization);
803fb7
                 if (virtualization)
803fb7
-                        log_info("Detected virtualization '%s'.", virtualization);
803fb7
+                        log_info("Detected virtualization %s.", virtualization);
803fb7
 
803fb7
                 write_container_id();
803fb7
 
803fb7
-                log_info("Detected architecture '%s'.", architecture_to_string(uname_architecture()));
803fb7
+                log_info("Detected architecture %s.", architecture_to_string(uname_architecture()));
803fb7
 
803fb7
                 if (in_initrd())
803fb7
                         log_info("Running in initial RAM disk.");