richardphibel / rpms / systemd

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