diff -r 582808b47653 -r 5d81ec164e5d src/init/conf/refresh-auth --- a/src/init/conf/refresh-auth Fri Mar 06 12:34:07 2009 +0000 +++ b/src/init/conf/refresh-auth Fri Mar 06 12:46:22 2009 +0000 @@ -2,18 +2,6 @@ # Copyright 2008-2009 LShift Ltd # This file should live in /etc/mercurial-server. -# If your repository is laid out differently you may need to modify -# this file. - -set -e -if [ `whoami` != 'hg' ] ; then - echo "Must be run as hg user" - return -1 -else - /usr/local/lib/mercurial-server/do-refresh-auth \ - ~hg/.ssh/authorized_keys \ - /etc/mercurial-server/hg-ssh-wrapper \ - /etc/mercurial-server/keys \ - ~hg/repos/hgadmin/keys -fi +exec /usr/local/lib/mercurial-server/do-refresh-auth +