]> git.etc.gen.nz Git - spong.git/commitdiff
fixed wrong directory path in first run logic in message_user
authorStephen L Johnson <sjohnson@monsters.org>
Mon, 26 Mar 2001 18:51:02 +0000 (18:51 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Mon, 26 Mar 2001 18:51:02 +0000 (18:51 +0000)
src/spong-server.pl

index 63f2f6a88e1cc79807e8c44b4cf2c268a0739136..15cb0c33f85bccbf3e821fd2bcb75c34456ffcfc 100755 (executable)
@@ -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" ) ) {