Changeset 2941 in MondoRescue


Ignore:
Timestamp:
Feb 3, 2012, 2:00:48 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Improve fixes for #578 based on Victor Gattegno's feedback
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/libmondo-devices.c

    r2936 r2941  
    916916
    917917    sprintf(tmp, "%s", call_program_and_get_last_line_of_output
    918             ("dvdrecord -scanbus 2> /dev/null | grep \") '\" | grep -n \"\" | grep -E '[D|C][V|D]' | cut -d':' -f1")
     918            ("dvdrecord -scanbus 2> /dev/null | grep \)\ \' | grep -n '' | grep -E '[D|C][V|D]' | cut -d':' -f1")
    919919        );
    920920    log_msg(5, "tmp = '%s'", tmp);
    921921    if (!tmp[0])
    922922        sprintf(tmp, "%s", call_program_and_get_last_line_of_output
    923                 ("cdrecord -scanbus 2> /dev/null | grep \") '\" | grep -n \"\" | grep -E '[D|C][V|D]' | cut -d':' -f1")
     923                ("cdrecord -scanbus 2> /dev/null | grep \)\ \' | grep -n '' | grep -E '[D|C][V|D]' | cut -d':' -f1")
    924924            );
    925925    if (tmp[0]) {
Note: See TracChangeset for help on using the changeset viewer.