Ignore:
Timestamp:
Nov 1, 2006, 1:28:11 AM (17 years ago)
Author:
Bruno Cornec
Message:

Remove calls to grep -w when use in mondorestore as busybox doesn't support that option. (report from Alfred Chua)

File:
1 edited

Legend:

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

    r877 r909  
    15301530    }
    15311531    paranoid_pclose(fin);
    1532     sprintf(tmp, "%s | grep -w \"%s\" > /dev/null 2> /dev/null",
     1532    sprintf(tmp, "%s | grep -E \"^%s\" > /dev/null 2> /dev/null",
    15331533            SWAPLIST_COMMAND, device_with_space);
    15341534    log_msg(4, "tmp (command) = '%s'", tmp);
Note: See TracChangeset for help on using the changeset viewer.