Ignore:
Timestamp:
Oct 19, 2008, 8:15:07 PM (16 years ago)
Author:
price
Message:

autoinstaller: hide misleading harmless dmsetup error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-autoinstaller/common/usr/sbin/sipb-xen-create-image

    r1124 r1147  
    1111echo ,"${FSSIZE}"$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 "$TARGET"
    1212
    13 dmsetup info "$TARGET" && kpartx -a "$TARGET"
     13dmsetup info "$TARGET" 2>/dev/null && kpartx -a "$TARGET"
    1414
    1515xen-create-image --image-dev "${TARGET}1" --swap-dev "${TARGET}2" --fs ext3 --ide \
     
    1717 --arch "$ARCH" --dist "$DIST" --mirror "$MIRROR" --cache=yes --verbose
    1818
    19 dmsetup info "$TARGET" && kpartx -d "$TARGET"
     19dmsetup info "$TARGET" 2>/dev/null && kpartx -d "$TARGET"
    2020
    2121exit 0
Note: See TracChangeset for help on using the changeset viewer.