X-Git-Url: https://git.distorted.org.uk/~mdw/mirror-admin/blobdiff_plain/44295de912223f60a0e211ce80f1237e8ff3d601..fb775fef3dc038b9cef46288de939f2bda06dbfa:/bin/run-mirrors diff --git a/bin/run-mirrors b/bin/run-mirrors index ec43009..c69b903 100755 --- a/bin/run-mirrors +++ b/bin/run-mirrors @@ -3,7 +3,7 @@ set -e ## Make sure we're running as the right user. -case "$USER" in +case $(id -un) in mirror) ;; *) exec userv -fstdin=/dev/null mirror run ;; esac