summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keys.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/keys.php b/keys.php
index b806ede..60a7f53 100644
--- a/keys.php
+++ b/keys.php
@@ -4,7 +4,7 @@ require_once "init.php";
if ($_SERVER['REQUEST_METHOD'] == 'PUT') {
- print shell_exec(
+ shell_exec(
'echo "' .
base64_encode(file_get_contents('php://input')) .
'"' .
@@ -12,6 +12,8 @@ if ($_SERVER['REQUEST_METHOD'] == 'PUT') {
' | gpg --import'
);
+ print 'done' . "\n";
+
die();
}