Changeset 2689 in MondoRescue


Ignore:
Timestamp:
Nov 16, 2010, 12:34:06 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Exits if the protocol used is not recognized (error with -n fs:// typo)
File:
1 edited

Legend:

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

    r2435 r2689  
    533533            if (strstr(bkpinfo->netfs_proto, "sshfs")) {
    534534                sprintf(tmp, "sshfs %s", bkpinfo->netfs_mount);
     535            } else if (strstr(bkpinfo->netfs_proto, "nfs")) {
     536                sprintf(tmp, "mount %s", bkpinfo->netfs_mount);
    535537            } else {
    536                 sprintf(tmp, "mount %s", bkpinfo->netfs_mount);
     538                fatal_error("Protocol %s not supported yet for network backups.\n", bkpinfo->netfs_proto);
    537539            }
    538540            if (system(tmp)) {
Note: See TracChangeset for help on using the changeset viewer.