summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2010-05-06 07:51:10 -1000
committerDavid Cantrell <dcantrell@redhat.com>2010-05-06 11:27:02 -1000
commit0433fb89bb876961ebb38efc184dc4e88d32093d (patch)
tree48d5131439f007a6723fc1f4a854382cafde1e20 /loader/loader.c
parent5e67af1b64ed04031dfee1401f9cb07c5bb6a35b (diff)
Log problem line if unquoting failed in readNetInfo()
Log the entire line if value unquoting failed in readNetInfo(). Should help users figure out why the shell variables are wrong in the ifcfg file. Related: rhbz#522064
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c
index bc5a42683..8d8bef54c 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -698,8 +698,9 @@ static void readNetInfo(struct loaderData_s ** ld) {
gchar *val = g_shell_unquote(pair[1], &e);
if (e != NULL) {
- logMessage(WARNING, "error reading %s from %s: %s",
- pair[0], cfgfile, e->message);
+ logMessage(WARNING,
+ "error reading %s from %s (line=%s): %s",
+ pair[0], cfgfile, tmp, e->message);
g_error_free(e);
}