Browse Source

Merge pull request #1177 from rauchrob/patch-1

fix typo in centos init script
无闻 10 năm trước cách đây
mục cha
commit
639e34e362
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/init/centos/gogs

+ 1 - 1
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