summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2011-09-20 13:32:41 +0200
committerRadek Vykydal <rvykydal@redhat.com>2011-09-21 10:27:00 +0200
commit09ff3b03d7c7b3fb90002dbf0fe02b343fdeee34 (patch)
tree25f03a12ad10609bab53c54fea1b955f524175bc /loader/loader.c
parent6f44854ccb15b947803c9d64f54740cd2d2b5062 (diff)
Return after writing log message, not before.
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 5d2dc01b9..e03627c2c 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -610,8 +610,8 @@ static void readNetInfo(struct loaderData_s ** ld) {
}
g_strfreev(lines);
if (strlen(device) == 0) {
- return;
logMessage(DEBUGLVL, "readNetInfo no device found");
+ return;
}
checked_asprintf(&cfgfile, "/etc/sysconfig/network-scripts/ifcfg-%s",