diff options
-rw-r--r-- | text-utils/ul.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/text-utils/ul.c b/text-utils/ul.c index 30cad791d..7765b571e 100644 --- a/text-utils/ul.c +++ b/text-utils/ul.c @@ -174,15 +174,6 @@ int main(int argc, char **argv) termtype = getenv("TERM"); - /* - * FIXME: why terminal type is lpr when command begins with c and has - * no terminal? If this behavior can be explained please insert - * reference or remove the code. In case this truly is desired command - * behavior this should be mentioned in manual page. - */ - if (termtype == NULL || (argv[0][0] == 'c' && !isatty(STDOUT_FILENO))) - termtype = "lpr"; - while ((c = getopt_long(argc, argv, "it:T:Vh", longopts, NULL)) != -1) switch (c) { |