mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Print stack trace when execting due to fatal problem or bug
darcs-hash:20070121150341-ac50b-66b86014963568bf402a76d5beb7c1d4e188c5f7.gz
This commit is contained in:
6
exec.c
6
exec.c
@@ -220,7 +220,7 @@ void free_fd( io_data_t *io, int fd )
|
||||
FD_ERROR,
|
||||
fd );
|
||||
wperror( L"dup" );
|
||||
exit(1);
|
||||
FATAL_EXIT();
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -515,7 +515,7 @@ static void launch_process( process_t *p )
|
||||
errno = err;
|
||||
|
||||
wperror( L"execve" );
|
||||
exit(1);
|
||||
FATAL_EXIT();
|
||||
}
|
||||
|
||||
|
||||
@@ -761,7 +761,7 @@ static pid_t exec_fork()
|
||||
|
||||
debug( 0, FORK_ERROR );
|
||||
wperror (L"fork");
|
||||
exit( 1 );
|
||||
FATAL_EXIT();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user