Package: pbuilder Version: 0.174 Tags: patch --- Please enter the report below this line. --- I second that it's a feature and not a bug.
I'm attaching a patch to document the current behaviour.
diff -ruN pbuilder-0.174.orig/pbuilder.8 pbuilder-0.174/pbuilder.8 --- pbuilder-0.174.orig/pbuilder.8 2007-10-22 01:25:25.000000000 +0200 +++ pbuilder-0.174/pbuilder.8 2007-11-12 21:53:15.529883610 +0100 @@ -370,8 +370,9 @@ .BI "\-\-save\-after\-login " .TP .BI "\-\-save\-after\-exec " -Save the chroot image after exiting from the chroot instead of -deleting changes. +Save the chroot image after exiting from the chroot instead of +deleting changes (except when exiting with a non-zero exit status, +e.g. "exit 1"). Effective for .B login and
signature.asc
Description: This is a digitally signed message part.