--- pyanaconda/isys/imount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pyanaconda/isys/imount.c b/pyanaconda/isys/imount.c index c1b7493..146a00b 100644 --- a/pyanaconda/isys/imount.c +++ b/pyanaconda/isys/imount.c @@ -99,7 +99,7 @@ int mountCommandWrapper(int mode, char *dev, char *where, char *fs, if (mode == IMOUNT_MODE_MOUNT) { if (strstr(fs, "nfs")) { - if (options) { + if (options && strlen(options)) { // do not append if the options are empty if (asprintf(&opts, "%s,nolock", options) == -1) { fprintf(stderr, "%s: %d: %s\n", __func__, __LINE__, strerror(errno)); -- 1.7.4.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list