]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
quite -> quiet
authorManuel Penschuck <manuel.penschuck@stud.uni-frankfurt.de>
Sat, 16 Feb 2013 20:45:52 +0000 (21:45 +0100)
committerManuel Penschuck <manuel.penschuck@stud.uni-frankfurt.de>
Sat, 16 Feb 2013 20:45:52 +0000 (21:45 +0100)
web/cts

diff --git a/web/cts b/web/cts
index 89cb88ecc90e4be720dad5bd2f50a306d2ed55cd..4ef1bdccf90c8ce10fca6d39402f50b2883290de 100755 (executable)
--- a/web/cts
+++ b/web/cts
@@ -78,6 +78,8 @@ END_MSG
 sub connectToCTS {
    my $endpoint = shift;
    
+   die("Please set the enviroment variable DAQOPSERVER") unless defined $ENV{'DAQOPSERVER'};
+     
    my $trb;
    eval {require "TrbNet.pm"};
    $trb = TrbNet->new($endpoint);
@@ -124,7 +126,7 @@ for(my $i=0; $i < @ARGV; $i++) {
       
       $updateInterval = $ARGV[++$i];
 
-   } elsif ($arg eq "-q" or $arg eq "--quite") {
+   } elsif ($arg eq "-q" or $arg eq "--quiet") {
       unless ($i < @ARGV) {
          print "last parameter expects value\n";
          exit();