From 18c2016fdd548aee890aab7a5fdd6a742eba44f4 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 30 Jun 2009 10:44:30 +0000 Subject: [PATCH] exec sudo, to save a process --- chroot-enter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2