-/* $OpenBSD: misc.c,v 1.161 2021/02/15 20:36:35 markus Exp $ */
+/* $OpenBSD: misc.c,v 1.162 2021/02/28 01:50:47 dtucker Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2005-2020 Damien Miller. All rights reserved.
child_set_env(&env, &nenv, "LANG", cp);
}
- for (i = 0; i < NSIG; i++)
+ for (i = 1; i < NSIG; i++)
ssh_signal(i, SIG_DFL);
if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) {