Merge branch 'distorted' into vampire vampire
authorMark Wooding <mdw@distorted.org.uk>
Mon, 26 Mar 2012 16:52:30 +0000 (17:52 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 26 Mar 2012 16:52:30 +0000 (17:52 +0100)
* distorted:
  etc/ftpsync-debian-security.conf: No updates for `oldstable'.
  bin/ftpsync: `-exclude' means something completely wrong.

bin/run-mirrors

index ef7f92c..fcc345b 100755 (executable)
@@ -5,7 +5,7 @@ set -e
 ## Make sure we're running as the right user.
 case $(id -un) in
   mirror) ;;
-  *) exec userv -fstdin=/dev/null mirror run ;;
+  *) exec sudo -umirror "$0" "$@" ;;
 esac
 
 ## Set up a plausible environment.