diff options
author | Alexander Todorov <atodorov@redhat.com> | 2008-07-16 15:16:31 +0300 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-07-23 09:10:52 -0400 |
commit | 17277a8a4559b5e1bdc3d6666e6c0cfb1794c2fd (patch) | |
tree | fe14d6b9541a24ebe0b70fbbb90b18d5a9ad364a /rescue.py | |
parent | 24fe3ee26e30c0f1a8b6f1abd1a0854235594d9a (diff) | |
download | anaconda-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