Bug#391390: [Pbuilder-maint] Bug#391390: fails to umount /proc if /proc is not mounted

Loïc Minier lool at dooz.org
Sun Oct 29 22:06:27 CET 2006


On Sun, Oct 29, 2006, martin f krafft wrote:
> First, I would use a case statement instead of echo | grep.

 Right.

> Second, how about:
> local UMOUNT_OUTPUT
> if UMOUNT_OUTPUT="$(LC_ALL=C umount "$BUILDPLACE/$1")"; then
>   # it worked
> else
>   # it did not
> fi

 Ah, thanks!  For some reason, this layout didn't occur to my mind.  I
 will have to update some scripts now.

-- 
Loïc Minier <lool at dooz.org>




More information about the Pbuilder-maint mailing list