mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LScli : fix command handler call
This commit is contained in:
parent
2a5ef1bb4e
commit
f52f81c1d4
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class LScli {
|
||||||
// Run command
|
// Run command
|
||||||
LSlog :: debug('Run '.basename($argv[0])." command $command with argument(s) '".implode("', '", $command_args)."'");
|
LSlog :: debug('Run '.basename($argv[0])." command $command with argument(s) '".implode("', '", $command_args)."'");
|
||||||
try {
|
try {
|
||||||
$result = call_user_func($cli_commands[$command]['handler'], $command_args);
|
$result = call_user_func(self :: $commands[$command]['handler'], $command_args);
|
||||||
|
|
||||||
exit($result?0:1);
|
exit($result?0:1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue