summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/ka.c
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2011-03-08 13:56:38 +0000
committerAntoine Ginies <aginies@mandriva.com>2011-03-08 13:56:38 +0000
commit0cc364841b6c5f2b93d1010506297652877a5b7a (patch)
tree7d4ee1b2d3eb38125ab3aaee2d24bf0c142078ef /mdk-stage1/ka.c
parentbf0624d9258d32f15d6606bbd1390b5a55b34eb3 (diff)
downloaddrakx-0cc364841b6c5f2b93d1010506297652877a5b7a.tar
drakx-0cc364841b6c5f2b93d1010506297652877a5b7a.tar.gz
drakx-0cc364841b6c5f2b93d1010506297652877a5b7a.tar.bz2
drakx-0cc364841b6c5f2b93d1010506297652877a5b7a.tar.xz
drakx-0cc364841b6c5f2b93d1010506297652877a5b7a.zip
dont close stderr
Diffstat (limited to 'mdk-stage1/ka.c')
-rw-r--r--mdk-stage1/ka.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/ka.c b/mdk-stage1/ka.c
index 670abe5af..c5f243828 100644
--- a/mdk-stage1/ka.c
+++ b/mdk-stage1/ka.c
@@ -53,8 +53,8 @@ static enum return_type ka_wait_for_stage2(int count)
int pida, wait_status;
if (!(pida = fork())) { /* Forking current process for running mkfs */
- //close(1);
- close(2);
+ close(1);
+ //close(2);
execv(mkfs_launch[0], mkfs_launch); /* Formating the ramdisk */
printf("KA: Can't execute %s\n<press Enter>\n", mkfs_launch[0]);
my_pause();