From 956bab5c4d2e219655fa61101d67f664fac0323f Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Mon, 26 Mar 2001 18:51:02 +0000 Subject: [PATCH] fixed wrong directory path in first run logic in message_user --- 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 63f2f6a..15cb0c3 100755 --- a/src/spong-server.pl +++ b/src/spong-server.pl @@ -6,7 +6,7 @@ # There are one or more update processes that listen for status updates # from client programs. -# $Id: spong-server.pl,v 1.38 2001/01/31 14:27:07 sljohnson Exp $ +# $Id: spong-server.pl,v 1.39 2001/03/26 18:51:02 sljohnson Exp $ use lib "@@LIBDIR@@"; @@ -1137,7 +1137,7 @@ sub message_user { # If status has changed my $firstrun = 1; foreach my $c ('red','yellow','green','clear','purple') { - if( -f "$SPONGDB/$host/$service.$c" ) { $firstrun = 0; } + if( -f "$SPONGDB/$host/services/$service.$c" ) { $firstrun = 0; } } if ( ! -f "$SPONGDB/$host/services/$service.$color" and ! ($firstrun and $color eq "green" ) ) { -- 2.30.2