anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

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