From f1cb0cac771d159ae750c358f25e6e0778e70d15 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 9 Apr 2014 13:22:53 +0200 Subject: [PATCH] Print clearer problem report if setup-dchroot fails --- modules/porterbox/files/setup-all-dchroots | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/porterbox/files/setup-all-dchroots b/modules/porterbox/files/setup-all-dchroots index 23867bb93..665e25497 100755 --- a/modules/porterbox/files/setup-all-dchroots +++ b/modules/porterbox/files/setup-all-dchroots @@ -67,7 +67,13 @@ err=0 for a in $archs; do for s in `get_suites "$a"`; do - setup-dchroot -f -a "$a" "$s" || err=1 + if ! setup-dchroot -f -a "$a" "$s"; then + err=1 + echo >&2 + echo >&2 "Error: setting up $s:$a dchroot failed." + echo >&2 + echo >&2 + fi done done -- 2.20.1