diff --git a/src/pocketmine/utils/Utils.php b/src/pocketmine/utils/Utils.php index 796420b2c..51ba74b73 100644 --- a/src/pocketmine/utils/Utils.php +++ b/src/pocketmine/utils/Utils.php @@ -75,7 +75,7 @@ class Utils{ $machine .= implode(" ", $matches[1]); //Mac Addresses } }elseif($os === "linux"){ - @exec("ifconfig /ALL", $mac); + @exec("ifconfig", $mac); $mac = implode("\n", $mac); if(preg_match_all("#HWaddr[ \t]{1,}([0-9a-f:]{17})#", $mac, $matches)){ foreach($matches[1] as $i => $v){ @@ -389,4 +389,4 @@ class Utils{ return $ret; } -} \ No newline at end of file +}