diff options
author | Phil Davis <phil.davis@inf.org> | 2015-03-13 23:10:14 +0545 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-03-16 08:16:07 -0300 |
commit | 06144727b0d97a73b0288d2efb620df9a1d51554 (patch) | |
tree | 2457cb7700042aa279d120e1522a3d5b1dc73bdc /usr/local | |
parent | 54aac08057892ed84dc5115aa7c1ad7ee3d3e17b (diff) | |
download | pfsense-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/local')
-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) { |