Changeset 2877 in MondoRescue


Ignore:
Timestamp:
Sep 30, 2011, 3:04:30 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Try to fix #496 by supporting the protocol in the output of the mount command (sshfs#...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-cli.c

    r2847 r2877  
    524524            strcpy(bkpinfo->netfs_mount,tmp);
    525525        }
    526         sprintf(tmp, "mount | grep -E \"^[%s@]*%s[/]* .*\" | cut -d' ' -f3", bkpinfo->netfs_user,
     526        sprintf(tmp, "mount | grep -E \"^[a-z]*#*[%s@]*%s[/]* .*\" | cut -d' ' -f3", bkpinfo->netfs_user,
    527527                bkpinfo->netfs_mount);
    528528        strncpy(bkpinfo->isodir,
Note: See TracChangeset for help on using the changeset viewer.