From 4319b6b5144bd6b865583412f10f45cbcfc1d025 Mon Sep 17 00:00:00 2001 From: Stefanie Eckner Date: Sat, 30 Dec 2023 14:13:04 +0100 Subject: key-update: * print status * no further actions --- computer-time-limit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/computer-time-limit.php b/computer-time-limit.php index 0ed38da..1a9daab 100644 --- a/computer-time-limit.php +++ b/computer-time-limit.php @@ -3,7 +3,8 @@ $db = new SQLite3('../backstage/computer-time-limit/computer-time-limit.sqlite'); if (array_key_exists('key', $_POST)) { - print(shell_exec('echo "' . base64_encode($_POST['key']) . '" | base64 -d | base64 -d | gpg --import')); + print(shell_exec('echo "' . base64_encode($_POST['key']) . '" | base64 -d | base64 -d | gpg --import 2>&1')); + die(); } if (array_key_exists('gpg', $_POST)) { -- cgit v1.2.3-70-g09d2