[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#149586: Bug #149586: xserver-xfree86: [debconf] errors from discover should not be fatal to config script



I have prepared the following fix for this problem, and will be
committing it to Debian XFree86 SVN soon:

  discover_video () {
[...]
      DISCOVERED_VIDEO=$(run discover --disable=serial,parallel \
                                  --format="%V %M\t%S\t%D\n" video 2>/dev/null)
    fi
    echo "$DISCOVERED_VIDEO"
  }

("run" is a shell function that traps and reports error exit from commands.)

Comments?

-- 
G. Branden Robinson                |      Don't ask the barber whether you
Debian GNU/Linux                   |      need a haircut.
branden@debian.org                 |      -- Daniel S. Greenberg
http://people.debian.org/~branden/ |

Attachment: signature.asc
Description: Digital signature


Reply to: