diff options
| author | Murray Stokely <murray@FreeBSD.org> | 2001-09-22 18:07:47 +0000 |
|---|---|---|
| committer | Murray Stokely <murray@FreeBSD.org> | 2001-09-22 18:07:47 +0000 |
| commit | 8f217e4c8bd00ce6bcbfe5eb4776164a7466da16 (patch) | |
| tree | eaea982df5c74c2c6bc2566c50bae74907b30073 | |
| parent | bd61b8e81de2a47c2b374eb97b39713f70957281 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/sade/termcap.c | 2 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/termcap.c | 2 |
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; |
