projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f0990
)
Print clearer problem report if setup-dchroot fails
author
Peter Palfrader
<peter@palfrader.org>
Wed, 9 Apr 2014 11:22:53 +0000
(13:22 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 9 Apr 2014 11:22:56 +0000
(13:22 +0200)
modules/porterbox/files/setup-all-dchroots
patch
|
blob
|
history
diff --git
a/modules/porterbox/files/setup-all-dchroots
b/modules/porterbox/files/setup-all-dchroots
index
23867bb
..
665e254
100755
(executable)
--- 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