From 49f8abcd79d9f174052975731ba9d7180f108788 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 14 Sep 2023 10:56:25 +0200 Subject: [PATCH] remove unnecessary things --- bootstrap/helpers/remoteProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/helpers/remoteProcess.php b/bootstrap/helpers/remoteProcess.php index e0d2f68db..84f2dc9d3 100644 --- a/bootstrap/helpers/remoteProcess.php +++ b/bootstrap/helpers/remoteProcess.php @@ -56,7 +56,7 @@ function removePrivateKeyFromSshAgent(Server $server) } processWithEnv()->run("echo '{$server->privateKey->private_key}' | ssh-add -d -"); } -function addPrivateKeyToSshAgent(Server $server, bool $onlyRemove = false) +function addPrivateKeyToSshAgent(Server $server) { if (data_get($server, 'privateKey.private_key') === null) { throw new \Exception("Server {$server->name} does not have a private key");