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 ...@@ -17,8 +17,8 @@ $header = "#seconds,rssi,mode,submode,upstream,downstream,sentbytes,receivedbyts
$i = 0; $i = 0;
$record = array(); $record = array();
$handle = fopen($device, "r"); $handle = @fopen($device, 'r');
if (! $handle) { if (!$handle) {
echo "Can not open modem stats device\n"; echo "Can not open modem stats device\n";
exit(1); 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