Changeset 1744 in MondoRescue for branches/2.2.5


Ignore:
Timestamp:
Oct 30, 2007, 11:55:43 AM (16 years ago)
Author:
Bruno Cornec
Message:

Fix a issue with &> usage (replaced with 1> and 2>)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/common/libmondo-tools.c

    r1737 r1744  
    10691069    assert_string_is_neither_NULL_nor_zerolength(partition);
    10701070
    1071     sprintf(command, "df -m -P %s &> /dev/null", partition);
     1071    sprintf(command, "df -m -P %s 1> /dev/null 2> /dev/null", partition);
    10721072    if (system(command)) {
    10731073        return (-1);
Note: See TracChangeset for help on using the changeset viewer.