Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-27 13:53:09 +0100
committerErich Eckner <git@eckner.net>2019-10-27 13:53:09 +0100
commit874c295223832d5d93f0de5edcad0183e49702ec (patch)
treeb3583d91c39acf6097e4c7b02ff8653de875b5d3 /lib
parentd897e149a7d3549804e466c485d66b777d56e908 (diff)
lib/load-configuration: only save first 64k of parameters - the database can't store more anyways
Diffstat (limited to 'lib')
-rwxr-xr-xlib/load-configuration1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index cdea48d..83d3beb 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -217,6 +217,7 @@ if ${i_am_the_master}; then
printf 'from_base64("%s"),' \
"$(
printf '%s' "$*" | \
+ head -c $((64*1024)) | \
base64
)"
if tty -s; then