[Initng-svn] r2319 - initng/plugins/reload

svn at initng.thinktux.net svn at initng.thinktux.net
Sun Dec 4 12:54:39 CET 2005


Author: danne
Date: Sun Dec  4 12:54:38 2005
New Revision: 2319

Modified:
   initng/plugins/reload/initng_reload.c
Log:
Bug #312


Modified: initng/plugins/reload/initng_reload.c
==============================================================================
--- initng/plugins/reload/initng_reload.c	(original)
+++ initng/plugins/reload/initng_reload.c	Sun Dec  4 12:54:38 2005
@@ -203,6 +203,10 @@
     s_data *c_d = NULL;
 
     fil = fopen(filename, "w+");
+    if (fil==0) {
+      F_("Could not open '%s' for writing\n", filename);
+      return;
+    }
 
     /* walk the active_db */
     while_active_db_safe(current, q)


More information about the Initng-svn mailing list