Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=fefa9af1bcc48cf5c530d0330fc9930f48394b50

commit fefa9af1bcc48cf5c530d0330fc9930f48394b50
Author: James Buren <[email protected]>
Date:   Mon Feb 18 21:15:25 2013 -0600

remove logfile prior to opening it

diff --git a/new/src/main.c b/new/src/main.c
index c1b0d2d..0a3ed9c 100644
--- a/new/src/main.c
+++ b/new/src/main.c
@@ -20,6 +20,8 @@ extern int main(int argc,char **argv)
return EXIT_FAILURE;
}

+  remove(LOGFILE);
+
logfile = fopen(LOGFILE,"a");

if(logfile == 0)
@@ -50,8 +52,8 @@ struct global *g = &local;
struct module *modules[] =
{
&partition_module,
-  &format_module,
-  &install_module,
-  &postconfig_module,
+//  &format_module,
+//  &install_module,
+//  &postconfig_module,
0
};
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to