diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-09-29 21:20:20 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-09-29 21:20:20 +0000 |
commit | 356d6736b1b597277f638fa287f37bda62bcb109 (patch) | |
tree | 62dd5710f7d2ae626834a790010da3b663eadd54 /kickstart.py | |
parent | 36d82b2f202eb6955f6449e7f49ddb176fbe6bc3 (diff) | |
download | anaconda-356d6736b1b597277f638fa287f37bda62bcb109.tar.gz anaconda-356d6736b1b597277f638fa287f37bda62bcb109.tar.xz anaconda-356d6736b1b597277f638fa287f37bda62bcb109.zip |
if we get to %pre, %post, %traceback or %packages, then we can't have commands
anymore and might as well stop looking for vnc stuff (#105789)
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kickstart.py b/kickstart.py index 1c0801656..f5ecb0dcc 100644 --- a/kickstart.py +++ b/kickstart.py @@ -1390,6 +1390,9 @@ def parseKickstartVNC(ksfile): args = isys.parseArgv(l) if args: + if args[0] in ("%pre", "%post", "%traceback", "%packages"): + break + if args[0] != 'vnc': continue else: |