Package: lvm2
Severity: serious
Version: 2.02.01-2

From preinst:

#! /bin/sh

set -e
[...]
        if [ "`/sbin/lvmiopversion`" -le 10 ]; then
          [ -x /sbin/lvscan ] && /sbin/lvscan 2>/dev/null | grep Snapshot 2>&1 
> /dev/null
          if [ "$?" = 0 ]; then

You cannot do this in set -e. The script will always abort and fail if
$? is not zero. You'll have to set +e or put the if around the
command.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature

Reply via email to