From: Tomas Doran Date: Tue, 17 Apr 2012 13:38:13 +0000 (+0100) Subject: Error reason in both errors X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FFCGI-ProcManager.git;a=commitdiff_plain;h=8fc1fb480c0f9bfeb7077dfab48a51e2cc9de029 Error reason in both errors --- diff --git a/lib/FCGI/ProcManager.pm b/lib/FCGI/ProcManager.pm index c1c4023..8d42717 100644 --- a/lib/FCGI/ProcManager.pm +++ b/lib/FCGI/ProcManager.pm @@ -365,7 +365,7 @@ sub pm_write_pid_file { return; } print $PIDFILE "$$\n" or die "Could not print PID: $!"; - close $PIDFILE or die "Could not close PID file"; + close $PIDFILE or die "Could not close PID file: $!"; } =head2 pm_remove_pid_file