diff options
author | Phil Davis <phil.davis@inf.org> | 2015-03-13 23:10:14 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-03-13 23:10:14 +0545 |
commit | 6fee314baed1bc82f3571c8acfc257057597b036 (patch) | |
tree | 74d7d056ba37fa7d1fbaff579eb3c2b760882c85 | |
parent | f2f34088ace895b0113b468b856ceb02301585d1 (diff) | |
download | pfsense-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.
-rwxr-xr-x | usr/local/sbin/pfSsh.php | 2 |
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) { |