diff options
author | Holger Levsen <holger@layer-acht.org> | 2013-01-10 13:55:31 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2013-01-10 13:55:31 +0100 |
commit | 01c571c28615bcf8b2fd05965b223d63d2454073 (patch) | |
tree | 8a05cdb2ab47b0330c21bf4239ccee7be7b36489 /bin | |
parent | e588be00e140f95fe4f93a27b1de3a54e82912f5 (diff) | |
download | jenkins.debian.net-01c571c28615bcf8b2fd05965b223d63d2454073.tar.xz |
g-i: treat failure to run dpkg as critical
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/g-i-installation.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 # |