diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-06-09 21:34:50 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-06-09 21:34:50 +0000 |
commit | 2a8997a1ddef87f7affcaa9b7580e3b8f1a6705b (patch) | |
tree | ec7a7ba843f32a97764ec44fab6785a1c81c5917 | |
parent | 21d5ca24119665938a73b3461dac980038ffcee8 (diff) | |
download | anaconda-2a8997a1ddef87f7affcaa9b7580e3b8f1a6705b.tar.gz anaconda-2a8997a1ddef87f7affcaa9b7580e3b8f1a6705b.tar.xz anaconda-2a8997a1ddef87f7affcaa9b7580e3b8f1a6705b.zip |
quote fstype if needed (#119243)
-rw-r--r-- | partitions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/partitions.py b/partitions.py index e881bcf54..5ad04cdcb 100644 --- a/partitions.py +++ b/partitions.py @@ -964,9 +964,12 @@ class Partitions: # see above about uniqueIDs being ints args.append("pv.%s" % (request.uniqueID)) elif request.mountpoint: + fstype = request.fstype.getName() + if fstype.find(" "): + fstype = "\"%s\"" %(fstype,) args.append(request.mountpoint) args.append("--fstype") - args.append(request.fstype.getName()) + args.append(fstype) else: continue |