diff --git a/lib/Operation.php b/lib/Operation.php index 8cafad7..f4bad39 100644 --- a/lib/Operation.php +++ b/lib/Operation.php @@ -216,7 +216,7 @@ protected function buildCommand(string $template, Node $node, string $event, arr $nodeID = $node->getId(); } catch (InvalidPathException | NotFoundException $e) { } - $command = str_replace('%s', escapeshellarg((string)$nodeID), $command); + $command = str_replace('%i', escapeshellarg((string)$nodeID), $command); } if (strpos($command, '%a')) {