From b8cf1fdab5fadc5d57ffbc40a045338007086f43 Mon Sep 17 00:00:00 2001 From: Jesper Nilsson Date: Sat, 3 Dec 2022 18:23:45 +0100 Subject: [PATCH] make chown silent --- rootfs/etc/cont-init.d/10-adduser | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/etc/cont-init.d/10-adduser b/rootfs/etc/cont-init.d/10-adduser index 5d4ee38eb..918821ec7 100644 --- a/rootfs/etc/cont-init.d/10-adduser +++ b/rootfs/etc/cont-init.d/10-adduser @@ -9,9 +9,9 @@ groupmod -o -g "$PGID" abc usermod -o -u "$PUID" abc chown -R abc:abc /home/abc/bin -chown -R abc:abc /config -chown -R abc:abc /recordings -chown -R abc:abc /segments +chown -R --silent abc:abc /config || : +chown -R --silent abc:abc /recordings || : +chown -R --silent abc:abc /segments || : log_info "************************ UID/GID *************************" log_info "User uid: $(id -u abc)"