chiark
/
gitweb
/
~cjwatson
/
bin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671daef
)
exec sudo, to save a process
author
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Tue, 30 Jun 2009 10:44:30 +0000
(10:44 +0000)
committer
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Tue, 30 Jun 2009 10:44:30 +0000
(10:44 +0000)
chroot-enter
patch
|
blob
|
history
diff --git
a/chroot-enter
b/chroot-enter
index b260b3a43d31324927685c0ab2bbf79979f818a0..7ffb146a8623614e4b1afebbd56129bafb0aff03 100755
(executable)
--- a/
chroot-enter
+++ b/
chroot-enter
@@
-1,4
+1,4
@@
#! /bin/sh
ROOT="${1:-/chroot/sid}"
chroot-setup "$ROOT"
-sudo chroot "$ROOT" su cjwatson
+
exec
sudo chroot "$ROOT" su cjwatson