diff --git a/src/phage/action/PhageAgentAction.php b/src/phage/action/PhageAgentAction.php --- a/src/phage/action/PhageAgentAction.php +++ b/src/phage/action/PhageAgentAction.php @@ -107,7 +107,7 @@ $exit_code), $key.'/exit'); - fprintf(STDOUT, $exit_code); + fprintf(STDOUT, '%s', $exit_code); } unset($this->commands[$key]); @@ -160,7 +160,7 @@ } $text = $this->formatOutput($text, $label); - fprintf($target, $text); + fprintf($target, '%s', $text); } private function formatOutput($output, $context) {