mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Fix whoami command usage (#3695)
Passing process as a string is deprecated since Symfony 4.2.
This commit is contained in:
parent
0ae980062f
commit
259c148edb
|
|
@ -357,7 +357,7 @@ class Scheduler
|
|||
*/
|
||||
public function whoami()
|
||||
{
|
||||
$process = new Process('whoami');
|
||||
$process = new Process(['whoami']);
|
||||
$process->run();
|
||||
|
||||
if ($process->isSuccessful()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user