Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-10 08:50:11 +0200
committerErich Eckner <git@eckner.net>2019-09-10 08:50:11 +0200
commit5c39dfdbcb51805b8a261b2b78786fad3295cfd0 (patch)
treebf22d1ac7b4a9c69068f19ea0c29127a6527ca11
parent1b9b6d2600afaeb5f3d4760908978772e2fb7bc4 (diff)
keys.php: print "done" when done importing
-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();
}