[Fedora-directory-commits] adminserver/admserv/newinst/src remove-ds-admin.pl.in, 1.1, 1.2
Richard Allen Megginson
rmeggins at fedoraproject.org
Fri Feb 27 14:52:07 UTC 2009
- Previous message (by thread): [Fedora-directory-commits] adminserver/man/man8 migrate-ds-admin.pl.8, NONE, 1.1 remove-ds-admin.pl.8, NONE, 1.1 setup-ds-admin.pl.8, NONE, 1.1
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/slapd control.c, 1.8, 1.9 proto-slap.h, 1.45, 1.46 unbind.c, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rmeggins
Update of /cvs/dirsec/adminserver/admserv/newinst/src
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25199
Modified Files:
remove-ds-admin.pl.in
Log Message:
actually add the -y argument
Index: remove-ds-admin.pl.in
===================================================================
RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/remove-ds-admin.pl.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- remove-ds-admin.pl.in 27 Feb 2009 14:33:27 -0000 1.1
+++ remove-ds-admin.pl.in 27 Feb 2009 14:52:05 -0000 1.2
@@ -45,6 +45,7 @@
my $i = 0;
my $force = "";
+my $seeny;
# load args from the command line
while ($i <= $#ARGV) {
@@ -52,12 +53,18 @@
$force = 1;
} elsif ("$ARGV[$i]" eq "-d") {
$Util::debuglevel++;
+ } elsif ( "$ARGV[$i]" eq "-y" ) {
+ $seeny = 1;
} else {
&usage; exit(1);
}
$i++;
}
+if (!$seeny) {
+ &usage; exit(1);
+}
+
my $baseconfigdir = $ENV{DS_CONFIG_DIR} || "@instconfigdir@";
my @instances = ();
my @errs;
- Previous message (by thread): [Fedora-directory-commits] adminserver/man/man8 migrate-ds-admin.pl.8, NONE, 1.1 remove-ds-admin.pl.8, NONE, 1.1 setup-ds-admin.pl.8, NONE, 1.1
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/slapd control.c, 1.8, 1.9 proto-slap.h, 1.45, 1.46 unbind.c, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list