X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=rt3%2Fadduserstort.pl;h=dc64899116de64152c63fcd973dec4e7a4f76dff;hb=4b97eb6c50faeeaa40660b73cd70c17cc572a2c9;hp=91ff80173b10a801e18513a0218cd84b569b0388;hpb=3e5e0976e8bdc7b1cb4f7cde8da67641fbcec015;p=monitor.git diff --git a/rt3/adduserstort.pl b/rt3/adduserstort.pl index 91ff801..dc64899 100644 --- a/rt3/adduserstort.pl +++ b/rt3/adduserstort.pl @@ -27,7 +27,7 @@ my $city = ''; my $country = ''; my $priv = 0; -if ( $ARGV[0] == 'priv' ) +if ( $ARGV[0] =~ /priv/ ) { shift @ARGV; $priv = 1; @@ -42,7 +42,7 @@ foreach $bc_user (@raw_data) ($email_address,$realname,$organization)=split(/\,/,$bc_user); my $UserObj = new RT::User(RT::SystemUser); - print "adding user: $email_address\n"; + # print "adding user: $email_address\n"; $UserObj->Create(Name => $email_address, RealName => $realname, EmailAddress => $email_address,