FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 05-06-2010, 08:54 PM
David Cantrell
 
Default 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
---
loader/loader.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index c828b96..a573b23 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -684,8 +684,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);
}

--
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:13 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org