From 00f7696d15daeec9f8ab809187edb9d80bc5491d Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 15 Feb 1996 01:14:21 +0000 Subject: (fshelp_start_translator_long): Terminate TASK if the exec fails. --- libfshelp/start-translator-long.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libfshelp/start-translator-long.c') 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 = -- cgit v1.2.3