[LON-CAPA-cvs] cvs: loncom / loncron

raeburn raeburn@source.lon-capa.org
Sat, 23 Apr 2011 16:18:49 -0000


raeburn		Sat Apr 23 16:18:49 2011 EDT

  Modified files:              
    /loncom	loncron 
  Log:
  - unlink the file not the filehandle.
  
  
Index: loncom/loncron
diff -u loncom/loncron:1.87 loncom/loncron:1.88
--- loncom/loncron:1.87	Sat Aug 21 22:23:05 2010
+++ loncom/loncron	Sat Apr 23 16:18:49 2011
@@ -2,7 +2,7 @@
 
 # Housekeeping program, started by cron, loncontrol and loncron.pl
 #
-# $Id: loncron,v 1.87 2010/08/21 22:23:05 raeburn Exp $
+# $Id: loncron,v 1.88 2011/04/23 16:18:49 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -823,7 +823,7 @@
             close($fh);
             my $execpath = $perlvar{'lonDaemons'}.'/lciptables';
             system("$execpath $tmpfile");
-            unlink($fh);
+            unlink($tmpfile);
         }
     }