diff options
author | Miles Bader <miles@gnu.org> | 1996-02-15 01:14:21 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-02-15 01:14:21 +0000 |
commit | 00f7696d15daeec9f8ab809187edb9d80bc5491d (patch) | |
tree | 140c4a906d01531be6b42349dc667ed32585ed23 /libfshelp | |
parent | ae26fb868bb3550ae15475e0becf1361c49386b2 (diff) |
(fshelp_start_translator_long): Terminate TASK if the exec fails.
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/start-translator-long.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c index eea32187..851bcb7b 100644 --- a/libfshelp/start-translator-long.c +++ b/libfshelp/start-translator-long.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by Miles Bader and Michael I. Bushnell. This file is part of the GNU Hurd. @@ -247,7 +247,10 @@ fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn, ports[INIT_PORT_BOOTSTRAP] = saveport; if (err) - goto lose; + { + task_terminate (task); + goto lose; + } /* Ask to be told if TASK dies. */ err = |