diff options
author | Hans Insulander <hin@cvs.openbsd.org> | 2001-06-25 02:52:42 +0000 |
---|---|---|
committer | Hans Insulander <hin@cvs.openbsd.org> | 2001-06-25 02:52:42 +0000 |
commit | e58da0e0537d8970f31a5e29b888aede3f51bdbe (patch) | |
tree | 26b1ce47366177304dff0ed5757a53b0e591352a /libexec | |
parent | 149fb9d1623745b48f1293d6138b09b3727ccaed (diff) |
Silently ignore -v options.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/login_krb5/login_krb5.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libexec/login_krb5/login_krb5.c b/libexec/login_krb5/login_krb5.c index 23c92e7b5eb..92b4f9e56ca 100644 --- a/libexec/login_krb5/login_krb5.c +++ b/libexec/login_krb5/login_krb5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: login_krb5.c,v 1.2 2001/06/25 01:04:41 hin Exp $ */ +/* $OpenBSD: login_krb5.c,v 1.3 2001/06/25 02:52:41 hin Exp $ */ /*- * Copyright (c) 2001 Hans Insulander <hin@openbsd.org>. @@ -78,7 +78,7 @@ main(int argc, char **argv) openlog(NULL, LOG_ODELAY, LOG_AUTH); - while((opt = getopt(argc, argv, "ds:")) != -1) { + while((opt = getopt(argc, argv, "ds:v:")) != -1) { switch(opt) { case 'd': back = stdout; @@ -95,6 +95,9 @@ main(int argc, char **argv) exit(1); } break; + case 'v': + /* silently ignore -v options */ + break; default: syslog(LOG_ERR, "usage error1"); exit(1); |