die handler breaks stuff on wheezy
authorPeter Palfrader <peter@palfrader.org>
Thu, 30 May 2013 14:51:57 +0000 (16:51 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 30 May 2013 14:52:07 +0000 (16:52 +0200)
machines.cgi
search.cgi
update.cgi

index f01d4e1..98567ec 100755 (executable)
@@ -120,7 +120,7 @@ sub item_uplist($) {
        return $out;
 }
 
-$SIG{__DIE__} = \&DieHandler;
+#$SIG{__DIE__} = \&DieHandler;
 
 my $query = new CGI;
 my $host = lc($query->param('host'));
index 5a328c0..2757d2f 100755 (executable)
@@ -30,7 +30,7 @@ sub DieHandler {
   $ldap->unbind if (defined($ldap));
 }
 
-$SIG{__DIE__} = \&DieHandler;
+#$SIG{__DIE__} = \&DieHandler;
 
 if (!$dosearch) {
   # No action yet, send back the search form...
index f1f82f9..5a59a34 100755 (executable)
@@ -42,7 +42,7 @@ sub DieHandler {
   $ldap->unbind if (defined($ldap));
 }
 
-$SIG{__DIE__} = \&DieHandler;
+#$SIG{__DIE__} = \&DieHandler;
 
 $ldap = Net::LDAP->new($config{ldaphost});
 &Util::UpgradeConnection($ldap) unless $config{usessl} eq 'False';