summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorAlexander Todorov <atodorov@redhat.com>2008-07-16 15:16:31 +0300
committerJeremy Katz <katzj@redhat.com>2008-07-23 09:10:52 -0400
commit17277a8a4559b5e1bdc3d6666e6c0cfb1794c2fd (patch)
treefe14d6b9541a24ebe0b70fbbb90b18d5a9ad364a /rescue.py
parent24fe3ee26e30c0f1a8b6f1abd1a0854235594d9a (diff)
downloadanaconda-17277a8a4559b5e1bdc3d6666e6c0cfb1794c2fd.tar.gz
anaconda-17277a8a4559b5e1bdc3d6666e6c0cfb1794c2fd.tar.xz
anaconda-17277a8a4559b5e1bdc3d6666e6c0cfb1794c2fd.zip
Code cleanup - handling of --serial
Good afternoon, currently in loader.c we have: if (FL_RESCUE(flags)) { *argptr++ = "--rescue"; if (FL_SERIAL(flags)) *argptr++ = "--serial"; } else { if (FL_SERIAL(flags)) *argptr++ = "--serial"; ... The attached patch moves the if(FL_SERIAL) section above this piece of code. No need to have the same block of code twice in an if-else statement.
Diffstat (limited to 'rescue.py')
0 files changed, 0 insertions, 0 deletions