From 1c56bf80f578ffbbba66659ed044ef06630cc278 Mon Sep 17 00:00:00 2001 From: djm Date: Fri, 31 May 2024 09:01:08 +0000 Subject: [PATCH] warn when -r (deprecated option to disable re-exec) is passed --- usr.bin/ssh/sshd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.20.1