diff options
author | Peter Jones <pjones@redhat.com> | 2008-03-05 10:47:24 -0500 |
---|---|---|
committer | Peter Jones <pjones@pjones2.localdomain> | 2008-03-05 10:47:24 -0500 |
commit | be1c08f89a2ce7c1014069fc1569332192370116 (patch) | |
tree | dcd3a917fb7c59a4572c2a3ecd00c9acfc0f295f | |
parent | 06261306126cb1a49bc06f9ed7223a7284b19ddf (diff) | |
download | anaconda-be1c08f89a2ce7c1014069fc1569332192370116.tar.gz anaconda-be1c08f89a2ce7c1014069fc1569332192370116.tar.xz anaconda-be1c08f89a2ce7c1014069fc1569332192370116.zip |
Fix the case where we're checking for _netdev but options is None (#435998)
-rw-r--r-- | fsset.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1831,7 +1831,9 @@ MAILADDR root mountpoint = entry.getMountPoint() if mountpoint == "/": - entry.options = entry.options.replace(",_netdev",",_rnetdev") + options = entry.getOptions() + if options: + entry.options = options.replace(",_netdev",",_rnetdev") if (rhpl.getArch() == 'ia64' \ or (rhpl.getArch() in ("i386", "x86_64") \ |