Print out if a RPC configuration file is used

Submitted by Adrian Reber on Nov. 16, 2018, 8:54 p.m.

Details

Message ID 20181116205443.29448-1-adrian@lisas.de
State Accepted
Series "Print out if a RPC configuration file is used"
Headers show

Commit Message

Adrian Reber Nov. 16, 2018, 8:54 p.m.
From: Adrian Reber <areber@redhat.com>

Signed-off-by: Adrian Reber <areber@redhat.com>
---
 criu/cr-service.c | 4 ++++
 1 file changed, 4 insertions(+)

Patch hide | download patch | download mbox

diff --git a/criu/cr-service.c b/criu/cr-service.c
index ed83fdf32..bcd1f5e41 100644
--- a/criu/cr-service.c
+++ b/criu/cr-service.c
@@ -371,6 +371,10 @@  static int setup_opts_from_req(int sk, CriuOpts *req)
 		goto err;
 	}
 
+	if (req->config_file) {
+		pr_debug("Overwriting RPC settings with values from %s\n", req->config_file);
+	}
+
 	if (kerndat_init())
 		return 1;