From: Stephen L Johnson Date: Mon, 26 Mar 2001 18:51:02 +0000 (+0000) Subject: fixed wrong directory path in first run logic in message_user X-Git-Tag: spong-2_7_4~11 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=956bab5c4d2e219655fa61101d67f664fac0323f;p=spong.git fixed wrong directory path in first run logic in message_user --- 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" ) ) {