summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-04-02 18:42:16 +0200
committerJoel Andres Granados <jgranado@redhat.com>2008-04-02 18:44:28 +0200
commit7f4c81f5cc109b1a4e9865cffd0e90e0da74efb2 (patch)
treecba7b237e874c1185d047a70fea37adcda0e1e97 /loader2
parentdfb74bf0c1d8da691e92e64002dabaa915200ea6 (diff)
Make the Back button work when asking for tcp/ip information in loader.c. (#233655)
Diffstat (limited to 'loader2')
-rw-r--r--loader2/loader.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/loader2/loader.c b/loader2/loader.c
index 799df06d0..552c521c1 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -1137,7 +1137,12 @@ static char *doLoaderMain(char * location,
needed = -1;
if (loaderData->method != -1 && methodNum != -1) {
- rc = 1;
+ /* dont forget the dir variable. */
+ if ( dir == 1 ){
+ rc = 1;
+ }else{
+ rc = -1;
+ }
} else {
/* we need to set these each time through so that we get
* updated for language changes (#83672) */