File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ public function init_logger() {
489489 EE ::err ( 'Please run `ee` with root privileges. ' );
490490 }
491491
492- if ( !empty ( $ this ->arguments [0 ] ) && 'cli ' === $ this ->arguments [0 ] && ! empty ( $ this ->arguments [1 ] ) && 'info ' === $ this ->arguments [1 ] && ! $ this -> config [ ' ssh ' ] ) {
492+ if ( !empty ( $ this ->arguments [0 ] ) && 'cli ' === $ this ->arguments [0 ] && ! empty ( $ this ->arguments [1 ] ) && 'info ' === $ this ->arguments [1 ] ) {
493493 $ file_logging_path = '/dev/null ' ;
494494 }
495495 else {
@@ -727,7 +727,7 @@ public function start() {
727727
728728 // Protect 'cli info' from most of the runtime,
729729 // except when the command will be run over SSH
730- if ( ! empty ( $ this ->arguments [0 ] ) && 'cli ' === $ this ->arguments [0 ] && ! empty ( $ this ->arguments [1 ] ) && 'info ' === $ this ->arguments [1 ] && ! $ this -> config [ ' ssh ' ] ) {
730+ if ( ! empty ( $ this ->arguments [0 ] ) && 'cli ' === $ this ->arguments [0 ] && ! empty ( $ this ->arguments [1 ] ) && 'info ' === $ this ->arguments [1 ] ) {
731731 $ this ->_run_command_and_exit ();
732732 }
733733
You can’t perform that action at this time.
0 commit comments