From 6cb973001a3dfec8afe175246ace31226aa489b4 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 23 Feb 2010 16:03:50 +0100 Subject: [PATCH] Do not abort if reading dpkg.list fails. --- grml-live | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/grml-live b/grml-live index 7970ea5..6c66898 100755 --- a/grml-live +++ b/grml-live @@ -1198,9 +1198,8 @@ if [ -d /usr/share/grml-live-db ] ; then #fi if ! [ -r "$DPKG_LIST" ] ; then - log "Error reading $DPKG_LIST - can not provide information to $DPKG_DBSCRIPT" - eerror "Error reading $DPKG_LIST - can not provide information to $DPKG_DBSCRIPT" ; eend 1 - bailout 14 + log "Warning: can not read $DPKG_LIST - can not provide information to $DPKG_DBSCRIPT (dirty build?)" + ewarn "Warning: can not read $DPKG_LIST - can not provide information to $DPKG_DBSCRIPT (dirty build?)" ; eend 0 else einfo "Logging $DPKG_LIST to database $DPKG_DATABASE" log "Logging $DPKG_LIST to database $DPKG_DATABASE" -- 2.1.4