This commit is contained in:
Anton Medvedev 2021-11-05 16:15:01 +01:00
parent 24da57a06b
commit eca779c847

View File

@ -5,7 +5,7 @@ namespace Deployer;
require_once __DIR__ . '/hosts.php';
task('test:misc:sudo-write-user', function (): void {
$cmd = 'sudo bash -s \'echo Current user is: $USER\'';
$cmd = 'sudo bash -c \'echo Current user is: $USER\'';
$output = run($cmd);
writeln($output);
})->shallow();