chiark / gitweb /
exec sudo, to save a process
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 30 Jun 2009 10:44:30 +0000 (10:44 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 30 Jun 2009 10:44:30 +0000 (10:44 +0000)
chroot-enter

index b260b3a..7ffb146 100755 (executable)
@@ -1,4 +1,4 @@
 #! /bin/sh
 ROOT="${1:-/chroot/sid}"
 chroot-setup "$ROOT"
-sudo chroot "$ROOT" su cjwatson
+exec sudo chroot "$ROOT" su cjwatson