aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams3
1 files changed, 1 insertions, 2 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 6d24221..289ae38 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -148,8 +148,7 @@ while [ -n "$1" ]; do
;;
--logfile)
log "I: Logging to $2"
- exec > >(tee "$2");
- exec 2>&1
+ exec > >(tee "$2") 2>&1
PBUILDER_BUILD_LOGFILE=$(readlink -f "$2")
shift; shift;
;;