summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Stokely <murray@FreeBSD.org>2001-09-22 18:07:47 +0000
committerMurray Stokely <murray@FreeBSD.org>2001-09-22 18:07:47 +0000
commit8f217e4c8bd00ce6bcbfe5eb4776164a7466da16 (patch)
treeeaea982df5c74c2c6bc2566c50bae74907b30073
parentbd61b8e81de2a47c2b374eb97b39713f70957281 (diff)
Notes
-rw-r--r--usr.sbin/sade/termcap.c2
-rw-r--r--usr.sbin/sysinstall/termcap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/termcap.c b/usr.sbin/sade/termcap.c
index b63cf3654d1c..1d8e047bc12a 100644
--- a/usr.sbin/sade/termcap.c
+++ b/usr.sbin/sade/termcap.c
@@ -81,7 +81,7 @@ set_termcap(void)
stat = ioctl(STDERR_FILENO, GIO_COLOR, &ColorDisplay);
if (!RunningAsInit) {
- if (getenv("SYSINSTALL_DEBUG"))
+ if (isDebug())
DebugFD = open("sysinstall.debug", O_WRONLY|O_CREAT|O_TRUNC, 0644);
else
DebugFD = -1;
diff --git a/usr.sbin/sysinstall/termcap.c b/usr.sbin/sysinstall/termcap.c
index b63cf3654d1c..1d8e047bc12a 100644
--- a/usr.sbin/sysinstall/termcap.c
+++ b/usr.sbin/sysinstall/termcap.c
@@ -81,7 +81,7 @@ set_termcap(void)
stat = ioctl(STDERR_FILENO, GIO_COLOR, &ColorDisplay);
if (!RunningAsInit) {
- if (getenv("SYSINSTALL_DEBUG"))
+ if (isDebug())
DebugFD = open("sysinstall.debug", O_WRONLY|O_CREAT|O_TRUNC, 0644);
else
DebugFD = -1;