1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Removed debug string from mxsh(1).

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-07 18:26:02 +01:00
parent 87248fbce9
commit bd7cb5195a

View file

@ -143,7 +143,6 @@ readcmd:
{ {
close(1); close(1);
int flags = O_CREAT | O_WRONLY | O_APPEND; int flags = O_CREAT | O_WRONLY | O_APPEND;
fprintf(stderr, "execmode = %s\n", execmode);
if ( strcmp(execmode, ">") == 0 ) { flags |= O_TRUNC; } if ( strcmp(execmode, ">") == 0 ) { flags |= O_TRUNC; }
if ( open(outputfile, flags, 0666) < 0 ) if ( open(outputfile, flags, 0666) < 0 )
{ {