mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Add support for the 'V'ersion rmt command.
This commit is contained in:
parent
9cbac834b9
commit
eeda31acc3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39264
@ -42,7 +42,7 @@ static const char copyright[] =
|
||||
static char sccsid[] = "@(#)rmt.c 8.1 (Berkeley) 6/6/93";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: rmt.c,v 1.1 1998/05/15 12:09:06 hans Exp hans $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -190,6 +190,12 @@ main(argc, argv)
|
||||
goto top;
|
||||
}
|
||||
|
||||
case 'V': /* version */
|
||||
getstring(op);
|
||||
DEBUG1("rmtd: V %s\n", op);
|
||||
rval = 2;
|
||||
goto respond;
|
||||
|
||||
default:
|
||||
DEBUG1("rmtd: garbage command %c\n", c);
|
||||
exit(3);
|
||||
|
Loading…
Reference in New Issue
Block a user