Index: trunk/psModules/src/config/pmConfig.c
===================================================================
--- trunk/psModules/src/config/pmConfig.c	(revision 18413)
+++ trunk/psModules/src/config/pmConfig.c	(revision 18830)
@@ -1627,7 +1627,6 @@
 
         if (trunc) {
-            if(truncate(filename, 0) != 0) {
-                psError(PS_ERR_IO, true, "Failed to truncate file, %s\n", filename);
-                nebServerFree(server);
+            if(truncate(path, 0) != 0) {
+                psError(PS_ERR_IO, true, "Failed to truncate Nebulous file %s (real name %s)\n", filename, path);
                 return NULL;
             }
