diff options
author | zeripath <art27@cantab.net> | 2021-11-03 08:13:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 04:13:07 -0400 |
commit | a5bcf1994fa257a84c09e588c6f44221fc80e842 (patch) | |
tree | a6a56659343872d15a158ff18e1443539c49fbc7 | |
parent | 118fbd94365d50359181b2e4362a97c44f50bba4 (diff) | |
download | gitea-a5bcf1994fa257a84c09e588c6f44221fc80e842.tar.gz gitea-a5bcf1994fa257a84c09e588c6f44221fc80e842.zip |
Use exec -a in the FHS compliant script (#17513)
-rwxr-xr-x | contrib/fhs-compliant-script/gitea | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fhs-compliant-script/gitea b/contrib/fhs-compliant-script/gitea index 28ce651aab..019f838f92 100755 --- a/contrib/fhs-compliant-script/gitea +++ b/contrib/fhs-compliant-script/gitea @@ -37,6 +37,6 @@ if [ -z "$APP_INI_SET" ]; then fi # Provide FHS compliant defaults to -GITEA_WORK_DIR="${GITEA_WORK_DIR:-$WORK_DIR}" "$GITEA" $CONF_ARG "$@" +exec -a "$0" GITEA_WORK_DIR="${GITEA_WORK_DIR:-$WORK_DIR}" "$GITEA" $CONF_ARG "$@" |