summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-01-12 16:45:35 +0000
committerErik Troan <ewt@redhat.com>2001-01-12 16:45:35 +0000
commit51db931f5253605c96285fdb4d05d8eceea4dd1e (patch)
tree8f7754a0fcd42c439e4172c84e570e4da66f878a /loader
parent283842f6c0fdb081a14e8a65065a65873abbd1b6 (diff)
downloadanaconda-51db931f5253605c96285fdb4d05d8eceea4dd1e.tar.gz
anaconda-51db931f5253605c96285fdb4d05d8eceea4dd1e.tar.xz
anaconda-51db931f5253605c96285fdb4d05d8eceea4dd1e.zip
fixed test mode so it doesn't hand rescue
Diffstat (limited to 'loader')
-rw-r--r--loader/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/loader/init.c b/loader/init.c
index d2256ce0c..bf6abaa68 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -569,6 +569,9 @@ int main(int argc, char **argv) {
}
}
+ if (testing)
+ exit(0);
+
dup2(fd, 0);
dup2(fd, 1);
dup2(fd, 2);