Skip to content

Commit c24e72f

Browse files
committed
Merge remote-tracking branch 'kamransyed/patch-2'
Merges functionality from Xowap#26, Xowap#16, Xowap#8
2 parents 13ffcd4 + b2e681f commit c24e72f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpSerial.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct()
4747
if (substr($sysName, 0, 5) === "Linux") {
4848
$this->_os = "linux";
4949

50-
if ($this->_exec("stty") === 0) {
50+
if ($this->_exec("stty --version") === 0) {
5151
register_shutdown_function(array($this, "deviceClose"));
5252
} else {
5353
trigger_error(

0 commit comments

Comments
 (0)