-/* $OpenBSD: session.c,v 1.284 2016/08/19 03:18:06 djm Exp $ */
+/* $OpenBSD: session.c,v 1.285 2016/08/23 16:21:45 otto Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
close(ttyfd);
/* record login, etc. similar to login(1) */
- if (command != NULL)
- do_login(s, command);
+ do_login(s, command);
/*
* Do common processing for the child, such as execing