summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/vty-checker/Makefile4
-rw-r--r--sysutils/vty-checker/src/vty-checker.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/vty-checker/Makefile b/sysutils/vty-checker/Makefile
index 8d86c87a4..e554cdfc8 100644
--- a/sysutils/vty-checker/Makefile
+++ b/sysutils/vty-checker/Makefile
@@ -3,13 +3,13 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom$
+# $MCom: ports/sysutils/vty-checker/Makefile,v 1.1 2008/02/02 23:58:48 marcus Exp $
#
# This port is self contained in the src directory.
#
PORTNAME= vty-checker
-PORTVERSION= 1.0
+PORTVERSION= 1.0.1
CATEGORIES= sysutils
MASTER_SITES= # none
DISTFILES= # none
diff --git a/sysutils/vty-checker/src/vty-checker.c b/sysutils/vty-checker/src/vty-checker.c
index 866997018..0a0b0090b 100644
--- a/sysutils/vty-checker/src/vty-checker.c
+++ b/sysutils/vty-checker/src/vty-checker.c
@@ -71,7 +71,7 @@ main(int argc, char **argv)
ty_devptr = ttydev + 6;
(void)strlcat(ty_devptr, t->ty_name, PATH_MAX);
- if ((fd = open(ttydev, O_RDONLY)) < 0) {
+ if ((fd = open(ttydev, O_RDONLY | O_NOCTTY)) < 0) {
if (debug) {
(void)fprintf(stderr,
"Failed to open %s: %s\n",