Navigation Menu

Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBColton committed Jul 3, 2020
1 parent 685e46c commit 056fe02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CompilerSource/general/bettersystem.cpp
Expand Up @@ -354,7 +354,7 @@ void myReplace(std::string& str, const std::string& oldStr, const std::string& n
// Background process groups get SIGTTIN if
// reading from the terminal.
int infd = open("/dev/null", O_RDONLY);
dup2(infd, STDIN_FILNO);
dup2(infd, STDIN_FILENO);
close(STDIN_FILENO);

// Redirect STDOUT
Expand Down

0 comments on commit 056fe02

Please sign in to comment.