Ignore:
Timestamp:
Nov 1, 2006, 6:22:57 PM (17 years ago)
Author:
Bruno Cornec
Message:

replaces grep -x by grep -E during restore as busybox doesn't provide -x either

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondoarchive/mondo-cli.c

    r809 r910  
    637637            strncpy(bkpinfo->nfs_remote_dir, "/", MAX_STR_LEN);
    638638        }
    639         sprintf(tmp, "mount | grep -x \"%s .*\" | cut -d' ' -f3",
     639        sprintf(tmp, "mount | grep -E \"^%s .*\" | cut -d' ' -f3",
    640640                bkpinfo->nfs_mount);
    641641        strncpy(bkpinfo->isodir,
Note: See TracChangeset for help on using the changeset viewer.