Change in osmo-sysmon[master]: Report config file name on error

Max gerrit-no-reply at lists.osmocom.org
Thu Nov 22 12:42:13 UTC 2018


Max has uploaded this change for review. ( https://gerrit.osmocom.org/11879


Change subject: Report config file name on error
......................................................................

Report config file name on error

Change-Id: If3f97452e4defb5c8dd540dd75045d37824fb305
---
M osysmon_main.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sysmon refs/changes/79/11879/1

diff --git a/osysmon_main.c b/osysmon_main.c
index eaed1a9..98859ed 100644
--- a/osysmon_main.c
+++ b/osysmon_main.c
@@ -129,7 +129,7 @@
 
 	rc = vty_read_config_file(config_file, NULL);
 	if (rc < 0) {
-		fprintf(stderr, "Failed to parse the config file\n");
+		fprintf(stderr, "Failed to parse the config file %s\n", config_file);
 		exit(2);
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/11879
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sysmon
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If3f97452e4defb5c8dd540dd75045d37824fb305
Gerrit-Change-Number: 11879
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181122/1fe42adc/attachment.html>


More information about the gerrit-log mailing list