mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-07 12:20:50 +02:00
Imported from ../bash-2.01.1.tar.gz.
This commit is contained in:
@@ -160,7 +160,9 @@ parse_and_execute (string, from_file, flags)
|
||||
}
|
||||
else
|
||||
{
|
||||
dispose_command (command); /* XXX */
|
||||
#if 0
|
||||
dispose_command (command); /* pe_dispose does this */
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -192,7 +194,8 @@ parse_and_execute (string, from_file, flags)
|
||||
#if defined (ONESHOT)
|
||||
if (startup_state == 2 && *bash_input.location.string == '\0' &&
|
||||
command->type == cm_simple && !command->redirects &&
|
||||
!command->value.Simple->redirects)
|
||||
!command->value.Simple->redirects &&
|
||||
((command->flags & CMD_TIME_PIPELINE) == 0))
|
||||
{
|
||||
command->flags |= CMD_NO_FORK;
|
||||
command->value.Simple->flags |= CMD_NO_FORK;
|
||||
|
||||
Reference in New Issue
Block a user