summaryrefslogtreecommitdiff
path: root/httpdocs/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'httpdocs/index.php')
-rw-r--r--httpdocs/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpdocs/index.php b/httpdocs/index.php
index a697be3..108bf9c 100644
--- a/httpdocs/index.php
+++ b/httpdocs/index.php
@@ -1,6 +1,6 @@
<?php
-$f = popen('/usr/bin/gpio read 7', 'r');
+$f = popen('/usr/bin/gpio read 7 2>&1', 'r');
if ($f === false) {
print 'Cannot access gpio';
die();