X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=blobdiff_plain;f=chroot-enter;fp=chroot-enter;h=7ffb146a8623614e4b1afebbd56129bafb0aff03;hb=18c2016fdd548aee890aab7a5fdd6a742eba44f4;hp=b260b3a43d31324927685c0ab2bbf79979f818a0;hpb=671daef7e5083b48b55fa799c40b9e6332693494;p=bin.git diff --git a/chroot-enter b/chroot-enter index b260b3a..7ffb146 100755 --- 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