From 1a233062a56ebf66eed02e379d399a3692747c20 Mon Sep 17 00:00:00 2001 From: Matthias Stecher Date: Fri, 25 Dec 2020 11:44:32 +0100 Subject: [PATCH] __nextcloud: harden here-doc for su call Because the here-doc will be evaluated again by the shell, it will was changed to avoid this. Because the script does not depend on such function, it will be done in faviour of special characters. --- type/__nextcloud/gencode-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/type/__nextcloud/gencode-remote b/type/__nextcloud/gencode-remote index 83748f5..15ff966 100755 --- a/type/__nextcloud/gencode-remote +++ b/type/__nextcloud/gencode-remote @@ -16,7 +16,7 @@ occ() { # su creates a new shell, so it does not affect the current session # will not use -q as it supresses errors, too cat << SHELL -su -s /bin/sh -l "$user" -- -e <