From 01c571c28615bcf8b2fd05965b223d63d2454073 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 10 Jan 2013 13:55:31 +0100 Subject: g-i: treat failure to run dpkg as critical --- bin/g-i-installation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index f02a57fe..258855a6 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -618,7 +618,7 @@ save_logs() { # # get list of installed packages # - sudo chroot $SYSTEM_MNT dpkg -l > $RESULTS/log/dpkg-l + sudo chroot $SYSTEM_MNT dpkg -l > $RESULTS/log/dpkg-l || ( echo "Error: cannot run dpkg inside the installed system." ; figlet "fail" ) # # umount guests # -- cgit v1.2.3-54-g00ecf