summaryrefslogtreecommitdiff
path: root/httpdocs/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'httpdocs/index.php')
-rw-r--r--httpdocs/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/httpdocs/index.php b/httpdocs/index.php
index e586dd0..b2b9bda 100644
--- a/httpdocs/index.php
+++ b/httpdocs/index.php
@@ -2,14 +2,14 @@
$f = popen('/usr/bin/gpio read 4 2>&1', 'r');
if ($f === false) {
- print 'Cannot access gpio';
+ print 'Cannot access gpio' . "\n";
die();
}
$l = trim(fgets($f));
pclose($f);
if ($l == '') {
- print 'Cannot read gpio - is it installed?';
+ print 'Cannot read gpio - is it installed?' . "\n";
die();
}