summaryrefslogtreecommitdiff
path: root/container/entrypoint.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2025-07-16 17:52:32 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2025-07-28 12:53:26 +0200
commit8c2c3430daf3c1091f1033e87658ef02805a42dd (patch)
treeffaeefd710e300e8d3f634e804f4783b4b18398a /container/entrypoint.sh
parentcd062d7349b857d25e54db91fd5821b1a4a2d004 (diff)
[fix] apply shell formating / shfmt (make format.shell)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'container/entrypoint.sh')
-rwxr-xr-xcontainer/entrypoint.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/container/entrypoint.sh b/container/entrypoint.sh
index d9b6b91de..7a09cce13 100755
--- a/container/entrypoint.sh
+++ b/container/entrypoint.sh
@@ -37,16 +37,16 @@ setup_ownership() {
local type="$2"
case "$type" in
- file | directory) ;;
- *)
- cat <<EOF
+ file | directory) ;;
+ *)
+ cat <<EOF
!!!
!!! ERROR
!!! "$type" is not a valid type, exiting...
!!!
EOF
- exit 1
- ;;
+ exit 1
+ ;;
esac
target_ownership=$(stat -c %U:%G "$target")