summaryrefslogtreecommitdiff
path: root/usr.bin/rdist
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-07-11 13:00:07 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-07-11 13:00:07 +0000
commitdaabe206b2d05ea5dfbe2f3d354d9672d4b5a8d7 (patch)
tree673cba7895575304bce1cfc9b4b94e4b80c078be /usr.bin/rdist
parent7318a0bc7af497cc454375b72e42ab4ebbb97353 (diff)
delete all traces of oldrdist -Server command. ok beck guenther
Diffstat (limited to 'usr.bin/rdist')
-rw-r--r--usr.bin/rdist/rdist.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/usr.bin/rdist/rdist.c b/usr.bin/rdist/rdist.c
index 79b113df6f8..5d887437dc2 100644
--- a/usr.bin/rdist/rdist.c
+++ b/usr.bin/rdist/rdist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rdist.c,v 1.24 2014/07/10 14:29:27 tedu Exp $ */
+/* $OpenBSD: rdist.c,v 1.25 2014/07/11 13:00:06 tedu Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -109,16 +109,6 @@ main(int argc, char **argv, char **envp)
exit(1);
/*
- * Be backwards compatible.
- */
- for (x = 1; x <= argc && argv[x]; x++) {
- if (strcmp(argv[x], "-Server") != 0)
- continue;
- fatalerr("Old rdist not available.");
- exit(1);
- }
-
- /*
* Perform check to make sure we are not incorrectly installed
* setuid to root or anybody else.
*/
@@ -342,7 +332,7 @@ usage(void)
extern char *__progname;
(void) fprintf(stderr,
- "usage: %s [-DFnV] [-Server] [-A num] [-a num] "
+ "usage: %s [-DFnV] [-A num] [-a num] "
"[-c mini_distfile]\n"
"\t[-d var=value] [-f distfile] [-L remote_logopts] "
"[-l local_logopts]\n"