diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-05-13 08:34:50 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-05-13 08:34:50 +0000 |
commit | e79950d93af06b735b86548120dc60b2c5be6ee0 (patch) | |
tree | cd0d96ad02a9febbbf7b00071c84d89adf81fdc0 /mdk-stage1/adsl.c | |
parent | 29a2a329574efc2b945de3d9f2dc08803c6dafd9 (diff) | |
download | drakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.tar drakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.tar.gz drakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.tar.bz2 drakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.tar.xz drakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.zip |
instead of keeping stage1 (mostly as temporary space but with a fixed size, and for the background init),
exit the stage1 giving hand to stage2 in a tmpfs (same as what was done for Mandrakemove)
Diffstat (limited to 'mdk-stage1/adsl.c')
-rw-r--r-- | mdk-stage1/adsl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/adsl.c b/mdk-stage1/adsl.c index b3ed0f87e..bdbd06872 100644 --- a/mdk-stage1/adsl.c +++ b/mdk-stage1/adsl.c @@ -75,7 +75,7 @@ static enum return_type adsl_connect(char * net_device, char * username, char * log_perror("could not set new controlling tty"); printf("\t(exec of pppd)\n"); - execve(pppd_launch[0], pppd_launch, grab_env()); + execv(pppd_launch[0], pppd_launch); log_message("execve of %s failed: %s", pppd_launch[0], strerror(errno)); exit(-1); } |