Commit 1146fb24 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: error is handled, no need for crash report

parent ecace09a
......@@ -17,8 +17,8 @@ $header = "#seconds,rssi,mode,submode,upstream,downstream,sentbytes,receivedbyts
$i = 0;
$record = array();
$handle = fopen($device, "r");
if (! $handle) {
$handle = @fopen($device, 'r');
if (!$handle) {
echo "Can not open modem stats device\n";
exit(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment