src/init/break-in/ssh-replacement
changeset 34 4b5ca59fe3b7
parent 32 4059dbe9f26a
child 35 0ed592d0f799
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/init/break-in/ssh-replacement	Mon Jun 16 17:17:29 2008 +0100
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Used only for break-ins
+
+echo "arg: $2" >&2
+
+exec sudo -H -u hg /usr/local/lib/hg-admin-tools/as-if-by-ssh "$2"
+