From 1d6b58c8b4d4536734153467b0005beebaf3f9b5 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Thu, 10 Oct 2019 10:37:32 +0200 Subject: [PATCH] fix: [nextcloud] report internal errors when running ``occ`` --- nextcloud/actions/occ | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nextcloud/actions/occ b/nextcloud/actions/occ index 979cd9b..98f7496 100755 --- a/nextcloud/actions/occ +++ b/nextcloud/actions/occ @@ -30,3 +30,5 @@ fi compose -q --no-init --no-relations run \ -v "$CHARM_PATH/src/occ.batch:/var/www/html/occ.batch" \ -T --rm -u www-data "$SERVICE_NAME" /var/www/html/occ.batch "$@" | cat + +exit "${PIPESTATUS[0]}" \ No newline at end of file