Skip to content

Commit 68a56be

Browse files
authored
Fix SKIP_CHOWN_DATA (#3374)
1 parent ac32c87 commit 68a56be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if ! isTrue "${SKIP_SUDO:-false}" && [ "$(id -u)" = 0 ]; then
3939
fi
4040
fi
4141

42-
if isTrue "${SKIP_CHOWN_DATA}" || [[ $(stat -c "%u" /data) != "$UID" ]]; then
42+
if isFalse "${SKIP_CHOWN_DATA}" && [[ $(stat -c "%u" /data) != "$UID" ]]; then
4343
log "Changing ownership of /data to $UID ..."
4444
chown -R ${runAsUser}:${runAsGroup} /data
4545
fi

0 commit comments

Comments
 (0)