mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-15 18:08:45 -07:00
3dc3e01f80
su-exec sets $HOME, and we used to have this env call in there to fix that up. It disappeared in the latest entrypoint.sh rewrite.
8 lines
121 B
Bash
Executable File
8 lines
121 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
chown "${PUID}:${PGID}" "${HOME}" \
|
|
&& exec su-exec "${PUID}:${PGID}" \
|
|
env HOME="$HOME" "$@"
|