mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 05:21:08 +01:00
Fix Sharnoff complain bin/136 (-e flag doesn't work).
This commit is contained in:
parent
5ddd6b6a1a
commit
cde665121e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5614
@ -38,14 +38,11 @@ static char copyright[] =
|
||||
#endif /* not lint */
|
||||
|
||||
#ifndef lint
|
||||
static char sccsid[] = "@(#)rsh.c 8.3 (Berkeley) 4/6/94";
|
||||
static char sccsid[] = "From: @(#)rsh.c 8.3 (Berkeley) 4/6/94";
|
||||
static char rcsid[] =
|
||||
"$Id$";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
* $Source: /home/ncvs/src/usr.bin/rsh/rsh.c,v $
|
||||
* $Header: /home/ncvs/src/usr.bin/rsh/rsh.c,v 1.1.1.1 1994/05/27 12:32:35 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/signal.h>
|
||||
#include <sys/socket.h>
|
||||
@ -124,12 +121,12 @@ main(argc, argv)
|
||||
|
||||
#ifdef KERBEROS
|
||||
#ifdef CRYPT
|
||||
#define OPTIONS "8KLdek:l:nwx"
|
||||
#define OPTIONS "8KLde:k:l:nwx"
|
||||
#else
|
||||
#define OPTIONS "8KLdek:l:nw"
|
||||
#define OPTIONS "8KLde:k:l:nw"
|
||||
#endif
|
||||
#else
|
||||
#define OPTIONS "8KLdel:nw"
|
||||
#define OPTIONS "8KLde:l:nw"
|
||||
#endif
|
||||
while ((ch = getopt(argc - argoff, argv + argoff, OPTIONS)) != EOF)
|
||||
switch(ch) {
|
||||
@ -478,3 +475,4 @@ usage()
|
||||
#endif
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user