From: Benjamin Robin Date: Sun, 18 May 2014 00:47:42 +0000 (+0200) Subject: agetty: Fix implementation of option --nonewline. The flag F_NONL was never set. X-Git-Tag: v2.25-rc1~126 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c77c7fac22405fc4c4b5e745564061a5f5a0004;p=thirdparty%2Futil-linux.git agetty: Fix implementation of option --nonewline. The flag F_NONL was never set. Signed-off-by: Benjamin Robin --- diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 7840f402df..e6bf1103b8 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -690,6 +690,9 @@ static void parse_args(int argc, char **argv, struct options *op) case 'n': op->flags |= F_NOPROMPT; break; + case 'N': + op->flags |= F_NONL; + break; case 'o': op->logopt = optarg; break;