diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-08-21 22:34:23 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-08-21 22:34:23 +0000 |
commit | 851ce895bdf33b95ccbfc67061f8949e36fad196 (patch) | |
tree | da981e0f73a1dc6a40c27b9af0e3558905681041 | |
parent | a1f16bba72c78eca9359692e354fa35c0f3366c1 (diff) | |
download | busybox-851ce895bdf33b95ccbfc67061f8949e36fad196.tar.gz |
Turn off some debug noise.
-Erik
-rw-r--r-- | lash.c | 4 | ||||
-rw-r--r-- | sh.c | 4 | ||||
-rw-r--r-- | shell/lash.c | 4 |
3 files changed, 6 insertions, 6 deletions
@@ -1434,12 +1434,12 @@ int shell_main(int argc_l, char **argv_l) * standard output is a terminal * Refer to Posix.2, the description of the `sh' utility. */ if (interactive==TRUE || ( argv[optind]==NULL && input==stdin && isatty(fileno(stdin)) && isatty(fileno(stdout)))) { - fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); + //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); /* Looks like they want an interactive shell */ fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); } else if (local_pending_command==NULL) { - fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); + //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); input = fopen(argv[optind], "r"); if (!input) { fatalError("%s: %s\n", argv[optind], strerror(errno)); @@ -1434,12 +1434,12 @@ int shell_main(int argc_l, char **argv_l) * standard output is a terminal * Refer to Posix.2, the description of the `sh' utility. */ if (interactive==TRUE || ( argv[optind]==NULL && input==stdin && isatty(fileno(stdin)) && isatty(fileno(stdout)))) { - fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); + //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); /* Looks like they want an interactive shell */ fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); } else if (local_pending_command==NULL) { - fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); + //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); input = fopen(argv[optind], "r"); if (!input) { fatalError("%s: %s\n", argv[optind], strerror(errno)); diff --git a/shell/lash.c b/shell/lash.c index 2cec66bff..50e4368db 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1434,12 +1434,12 @@ int shell_main(int argc_l, char **argv_l) * standard output is a terminal * Refer to Posix.2, the description of the `sh' utility. */ if (interactive==TRUE || ( argv[optind]==NULL && input==stdin && isatty(fileno(stdin)) && isatty(fileno(stdout)))) { - fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); + //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); /* Looks like they want an interactive shell */ fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); } else if (local_pending_command==NULL) { - fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); + //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); input = fopen(argv[optind], "r"); if (!input) { fatalError("%s: %s\n", argv[optind], strerror(errno)); |