Skip to content

Commit

Permalink
removed error suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
kriswallsmith committed Jul 13, 2013
1 parent efc9c5e commit 6b4ac65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spork/Fifo.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct($pid = null)
throw new ProcessControlException(sprintf('Error while creating FIFO: %s (%d)', posix_strerror($error), $error));
}

if (false === $this->$mode = @fopen($fifo, $mode[0])) {
if (false === $this->$mode = fopen($fifo, $mode[0])) {
throw new \RuntimeException(sprintf('Unable to open %s FIFO.', $mode));
}
}
Expand Down

0 comments on commit 6b4ac65

Please sign in to comment.