diff options
author | brian <brian@FreeBSD.org> | 1997-09-09 23:56:29 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-09-09 23:56:29 +0000 |
commit | 2acb5315cbb44024fca5333a10841aa169db0554 (patch) | |
tree | 1a97fe4de055e5b7385e4b25c96b0371a4699538 /usr.sbin | |
parent | 2c906ef2d428068b7b41dd8a40de33eeb9a3d5c8 (diff) | |
download | FreeBSD-src-2acb5315cbb44024fca5333a10841aa169db0554.zip FreeBSD-src-2acb5315cbb44024fca5333a10841aa169db0554.tar.gz |
Allow dial to work in non-interactive mode.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/command.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 6b9c57c..7a68992 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: command.c,v 1.78 1997/09/09 23:13:31 brian Exp $ + * $Id: command.c,v 1.79 1997/09/09 23:23:24 brian Exp $ * */ #include <sys/types.h> @@ -149,8 +149,6 @@ DialCommand(struct cmdtab const * cmdlist, int argc, char **argv) fprintf(VarTerm, "LCP state is [%s]\n", StateNames[LcpFsm.state]); return 0; } - if (!IsInteractive()) - return (1); if (argc > 0) { if (SelectSystem(*argv, CONFFILE) < 0) { |