summaryrefslogtreecommitdiff
path: root/snmptt-unlink.patch
blob: ad57bcc03aee0e4ff42470e29e2783ca67c6f8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -dur snmptt_1.3.orig/snmptt snmptt_1.3/snmptt
--- snmptt_1.3.orig/snmptt	2012-12-01 17:23:47.000000000 +0100
+++ snmptt_1.3/snmptt	2012-12-01 17:24:27.907432052 +0100
@@ -993,6 +993,9 @@
         next if ($file eq ".");
         next if ($file eq "..");
 
+	$file =~ /([^\/]*)/;
+	$file = $1;
+
         if (lc($file) eq "!reload")
         {
           $timetoreload = 1;