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
", __func__, __LINE__,
strerror(errno));
--
1.7.4.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list