Skip to content

Commit a5bcf19

Browse files
authored
Use exec -a in the FHS compliant script (#17513)
1 parent 118fbd9 commit a5bcf19

File tree

1 file changed

+1
-1
lines changed
  • contrib/fhs-compliant-script

1 file changed

+1
-1
lines changed

contrib/fhs-compliant-script/gitea

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ if [ -z "$APP_INI_SET" ]; then
3737
fi
3838

3939
# Provide FHS compliant defaults to
40-
GITEA_WORK_DIR="${GITEA_WORK_DIR:-$WORK_DIR}" "$GITEA" $CONF_ARG "$@"
40+
exec -a "$0" GITEA_WORK_DIR="${GITEA_WORK_DIR:-$WORK_DIR}" "$GITEA" $CONF_ARG "$@"
4141

4242

0 commit comments

Comments
 (0)