[PATCH 2/2 master] Return after writing log message, not before.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 loader/loader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 5d2dc01..e03627c 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",
-- 
1.7.4

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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux