On Sun, Apr 02, 2017 at 09:14:36AM +0100, Sami Kerola wrote: > +.IP > +If an \fB\-\-nohost\fR option is given, then an \fB\-H\fP option ^^^^^^ The name of the option is --nohostname > } else { > - if (fakehost && (options.flags & F_REMOTE)) { > - login_argv[login_argc++] = "-h"; > - login_argv[login_argc++] = fakehost; > + if (options.flags & F_REMOTE) { > + if (fakehost) { > + login_argv[login_argc++] = "-h"; > + login_argv[login_argc++] = fakehost; > + } else if (options.flags & F_NOHOSTNAME) > + login_argv[login_argc++] = "-H"; Seems good. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html