warn when -r (deprecated option to disable re-exec) is passed
authordjm <djm@openbsd.org>
Fri, 31 May 2024 09:01:08 +0000 (09:01 +0000)
committerdjm <djm@openbsd.org>
Fri, 31 May 2024 09:01:08 +0000 (09:01 +0000)
usr.bin/ssh/sshd.c

index 683b0b8..c14f596 100644 (file)
@@ -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");