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