diff options
author | 无闻 <u@gogs.io> | 2015-03-31 19:41:30 -0400 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2015-03-31 19:41:30 -0400 |
commit | 639e34e362c3e4cea2532de4b811dc8bb916f9f3 (patch) | |
tree | fc0c565575b9ac15b22d31f1936bb56971e83eab /scripts/init/centos/gogs | |
parent | d76f11c6f14b69bf981e5fc3901cc2c6445773b8 (diff) | |
parent | 7e5063a93d15945150339c30beb6d09ba7b42939 (diff) |
Merge pull request #1177 from rauchrob/patch-1
fix typo in centos init script
Diffstat (limited to 'scripts/init/centos/gogs')
-rw-r--r-- | scripts/init/centos/gogs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/init/centos/gogs b/scripts/init/centos/gogs index 1a92ff20..5ff6de53 100644 --- a/scripts/init/centos/gogs +++ b/scripts/init/centos/gogs @@ -33,7 +33,7 @@ LOGFILE=${GOGS_HOME}/log/gogs.log RETVAL=0 # Read configuration from /etc/sysconfig/gogs to override defaults -[ -r /etc/sysconfig/$NAME ] && ./etc/sysconfig/$NAME +[ -r /etc/sysconfig/$NAME ] && . /etc/sysconfig/$NAME # Don't do anything if nothing is installed [ -x ${GOGS_PATH} ] || exit 0 |