From: djm Date: Fri, 31 May 2024 09:01:08 +0000 (+0000) Subject: warn when -r (deprecated option to disable re-exec) is passed X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1c56bf80f578ffbbba66659ed044ef06630cc278;p=openbsd warn when -r (deprecated option to disable re-exec) is passed --- diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 683b0b885be..c14f5966e43 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.603 2024/05/17 00:30:24 djm Exp $ */ +/* $OpenBSD: sshd.c,v 1.604 2024/05/31 09:01:08 djm Exp $ */ /* * Copyright (c) 2000, 2001, 2002 Markus Friedl. All rights reserved. * Copyright (c) 2002 Niels Provos. All rights reserved. @@ -923,7 +923,7 @@ main(int ac, char **av) inetd_flag = 1; break; case 'r': - /* ignored */ + logit("-r option is deprecated"); break; case 'R': fatal("-R not supported here");