]> andersk Git - moira.git/commitdiff
Update for new args to alis, and redirect mrtest output.
authorzacheiss <zacheiss>
Fri, 25 Aug 2000 00:48:40 +0000 (00:48 +0000)
committerzacheiss <zacheiss>
Fri, 25 Aug 2000 00:48:40 +0000 (00:48 +0000)
regtape/grouper.pl

index acf0610485f2c6deef80f75c35950c01213d34f3..8a4075c5e6ed809f439d1807af8f72259e344ffc 100755 (executable)
@@ -48,7 +48,7 @@ while (($user, $mitid) = $sth->fetchrow_array) {
 ($root_id) = $moira->selectrow_array("SELECT users_id FROM users ".
                                   "WHERE login = 'root'");
 
-open(MRTEST, "|$mrtest");
+open(MRTEST, "|$mrtest >/dev/null 2>&1");
 print MRTEST "connect $db\n";
 print MRTEST "auth\n";
 open(LOG, ">$logfile");
@@ -135,7 +135,7 @@ sub check_list {
     my ( $name, $owner, $export, $desc ) = @_;
     if (!$lists{$name}) {
        print LOG "Creating $name\n";
-       print MRTEST "qy alis $name 1 0 1 $export $export \"create unique GID\" 0 LIST $owner \"$desc\"\n";
+       print MRTEST "qy alis $name 1 0 1 $export $export \"create unique GID\" 0 LIST $owner NONE NONE \"$desc\"\n";
     }
 }
 
This page took 0.039159 seconds and 5 git commands to generate.