summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-03-13 23:10:14 +0545
committerPhil Davis <phil.davis@inf.org>2015-03-13 23:10:14 +0545
commit6fee314baed1bc82f3571c8acfc257057597b036 (patch)
tree74d7d056ba37fa7d1fbaff579eb3c2b760882c85 /usr/local/sbin
parentf2f34088ace895b0113b468b856ceb02301585d1 (diff)
downloadpfsense-6fee314baed1bc82f3571c8acfc257057597b036.zip
pfsense-6fee314baed1bc82f3571c8acfc257057597b036.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/local/sbin')
-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