mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 01:15:37 +08:00
Adjust shell debug log
This commit is contained in:
@@ -140,7 +140,7 @@ function f_passthru(string $cmd): ?bool
|
||||
if ($danger) {
|
||||
logger()->notice('Running dangerous command: ' . $cmd);
|
||||
} else {
|
||||
logger()->debug('Running command with direct output: ' . $cmd);
|
||||
logger()->debug('[PASSTHRU] ' . $cmd);
|
||||
}
|
||||
$ret = passthru($cmd, $code);
|
||||
if ($code !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user