diff options
author | tg <tg@FreeBSD.org> | 2001-11-27 13:14:49 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-11-27 13:14:49 +0000 |
commit | 9135c6402242fa6b178ac67076906670ec7606e3 (patch) | |
tree | 5dfe0c0ac2f10e0f9089deff6ad863476ae9342a /usr.bin/doscmd | |
parent | 8ac43f5a67356bd0af8e82b5ca5c79fe2bfe34d0 (diff) | |
download | FreeBSD-src-9135c6402242fa6b178ac67076906670ec7606e3.zip FreeBSD-src-9135c6402242fa6b178ac67076906670ec7606e3.tar.gz |
Remove check for the DISPLAY environment variable. It's easier to use
the `-x' option to get an X window than to temporarily disable DISPLAY.
PR: 32180
Diffstat (limited to 'usr.bin/doscmd')
-rw-r--r-- | usr.bin/doscmd/doscmd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/doscmd/doscmd.c b/usr.bin/doscmd/doscmd.c index fbccef8..f750b81 100644 --- a/usr.bin/doscmd/doscmd.c +++ b/usr.bin/doscmd/doscmd.c @@ -142,9 +142,6 @@ main(int argc, char **argv) argc -= optind; argv += optind; - if (getenv("DISPLAY") != NULL) - xmode = 1; - if (vflag && debugf == stderr) { debugf = stdout; setbuf (stdout, NULL); |