summaryrefslogtreecommitdiff
path: root/usr.bin/rdist/rdist.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rdist/rdist.c')
-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"