From 7d6727c51cd4e2ad1e69d7598d1d0de3074d1ccb Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Thu, 17 Feb 2000 02:47:51 +0000 Subject: [PATCH] remove_np_files() had wrong regexp for np-* files and wrong directory in unlink command. --- src/spong-server.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spong-server.pl b/src/spong-server.pl index 80f6af9..205a610 100755 --- a/src/spong-server.pl +++ b/src/spong-server.pl @@ -696,8 +696,8 @@ sub remove_np_files { if (! @files) { return; } foreach $file (@files) { - if ( $file =~ m/^np-[^-]-$host-$service/ ) { - unlink "$SPONGWWW/$file"; + if ( $file =~ m/^np-.*-$host-$service/ ) { + unlink "$SPONGTMP/$file"; } } -- 2.30.2