summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-03-13 23:10:14 +0545
committerRenato Botelho <garga@FreeBSD.org>2015-03-16 08:16:07 -0300
commit06144727b0d97a73b0288d2efb620df9a1d51554 (patch)
tree2457cb7700042aa279d120e1522a3d5b1dc73bdc /usr
parent54aac08057892ed84dc5115aa7c1ad7ee3d3e17b (diff)
downloadpfsense-06144727b0d97a73b0288d2efb620df9a1d51554.zip
pfsense-06144727b0d97a73b0288d2efb620df9a1d51554.tar.gz
pfSsh.php readline function return value
This just looks wrong. But I guess the code path never comes through here because function readline() already exists in the environment of this script.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/sbin/pfSsh.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php
index e165fcd..16aaa0a 100755
--- a/usr/local/sbin/pfSsh.php
+++ b/usr/local/sbin/pfSsh.php
@@ -48,8 +48,8 @@ if(!function_exists("readline")) {
$fp = fopen('php://stdin', 'r');
$textinput = chop(fgets($fp));
fclose($fp);
+ return $textinput;
}
- return $textinput;
}
function more($text, $count=24) {
OpenPOWER on IntegriCloud