aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpt-lib.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 7e754e8..4b4d039 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -457,8 +457,10 @@ as_root() {
CPT_PATH="$CPT_PATH" \
CPT_PID="$CPT_PID" \
CPT_PROMPT="$CPT_PROMPT" \
+ CPT_REPO_CACHE="$CPT_REPO_CACHE" \
CPT_ROOT="$CPT_ROOT" \
CPT_TMPDIR="$CPT_TMPDIR" \
+ CPT_VERBOSE="$CPT_VERBOSE" \
"$@"
case ${su##*/} in