diff options
author | Stefanie Eckner <stefanie@eckner.net> | 2023-12-30 14:13:04 +0100 |
---|---|---|
committer | Stefanie Eckner <stefanie@eckner.net> | 2023-12-30 14:13:04 +0100 |
commit | 4319b6b5144bd6b865583412f10f45cbcfc1d025 (patch) | |
tree | 308d9cdd5a4732210ecaff7b0ecf9ef47dd2154f /computer-time-limit.php | |
parent | 7bdc116352f967350c5b182c631912007558dc36 (diff) | |
download | computer-time-limit-4319b6b5144bd6b865583412f10f45cbcfc1d025.tar.xz |
key-update:
* print status
* no further actions
Diffstat (limited to 'computer-time-limit.php')
-rw-r--r-- | computer-time-limit.php | 3 |
1 files changed, 2 insertions, 1 deletions
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)) { |