diff --git a/php/EE/Runner.php b/php/EE/Runner.php index 7e29fe240..b45fd3e79 100644 --- a/php/EE/Runner.php +++ b/php/EE/Runner.php @@ -489,7 +489,7 @@ public function init_logger() { EE::err( 'Please run `ee` with root privileges.' ); } - if ( !empty( $this->arguments[0] ) && 'cli' === $this->arguments[0] && ! empty( $this->arguments[1] ) && 'info' === $this->arguments[1] && ! $this->config['ssh'] ) { + if ( !empty( $this->arguments[0] ) && 'cli' === $this->arguments[0] && ! empty( $this->arguments[1] ) && 'info' === $this->arguments[1] ) { $file_logging_path = '/dev/null'; } else { @@ -727,7 +727,7 @@ public function start() { // Protect 'cli info' from most of the runtime, // except when the command will be run over SSH - if ( ! empty( $this->arguments[0] ) && 'cli' === $this->arguments[0] && ! empty( $this->arguments[1] ) && 'info' === $this->arguments[1] && ! $this->config['ssh'] ) { + if ( ! empty( $this->arguments[0] ) && 'cli' === $this->arguments[0] && ! empty( $this->arguments[1] ) && 'info' === $this->arguments[1] ) { $this->_run_command_and_exit(); }