Commit 53574030 authored by Leigh Stoller's avatar Leigh Stoller

Minor tweak for bulk deactivation of users.

parent e1fe1bc7
......@@ -47,11 +47,12 @@ sub usage()
"<user> [args]\n");
exit(-1);
}
my $optlist = "fbuv";
my $optlist = "fbuvs";
my $force = 0;
my $batch = 0;
my $update = 0;
my $verified= 0;
my $silent = 0;
#
# Configure variables
......@@ -211,6 +212,9 @@ if (defined($options{"u"})) {
if (defined($options{"v"})) {
$verified = 1;
}
if (defined($options{"s"})) {
$silent = 1;
}
if (@ARGV < 2) {
usage();
}
......@@ -267,7 +271,7 @@ else {
#
# This script is always audited. Mail is sent automatically upon exit.
#
if (AuditStart(0)) {
if (!$silent && AuditStart(0)) {
#
# Parent exits normally
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment