Discard password prompts from smbclient's output

This commit is contained in:
Robin Appelman 2013-11-26 16:58:23 +01:00
commit bb92259b32
5 changed files with 23 additions and 6 deletions

View file

@ -66,7 +66,7 @@ class RawConnection {
/**
* read a line of output
*
* @return array
* @return string
*/
public function read() {
return trim(fgets($this->pipes[1]));