From 1946e04806477a0270c6c322a8fed8624f7ae6f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?= <6317548+theCalcaholic@users.noreply.github.com> Date: Sat, 22 Mar 2025 11:02:09 +0100 Subject: [PATCH] library.sh: Fix invalid redirection of error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com> --- etc/library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/library.sh b/etc/library.sh index 1f031ca3..2d41465a 100644 --- a/etc/library.sh +++ b/etc/library.sh @@ -22,7 +22,7 @@ export DB_PREFIX="$(php -r 'include("/var/www/nextcloud/config/config.php"); ech export SYSTEMD_PAGER= [[ -f "$NCPCFG" ]] || export NCPCFG=/usr/local/etc/ncp.cfg -[[ -f "$NCPCFG" ]] || { echo "$NCPCFG not found" >2; exit 1; } +[[ -f "$NCPCFG" ]] || { echo "$NCPCFG not found" >&2; exit 1; } if [[ "$(ps -p 1 --no-headers -o "%c")" == "systemd" ]] && ! [[ -d "/run/systemd/system" ]] then