From: Colin Watson Date: Tue, 30 Jun 2009 10:44:30 +0000 (+0000) Subject: exec sudo, to save a process X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=commitdiff_plain;h=18c2016fdd548aee890aab7a5fdd6a742eba44f4 exec sudo, to save a process --- 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