mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 08:37:50 -04:00
Fix the "..." special command. If this command is found all further
commands for this target are appended to the .END target instead of beeing executed now. They are executed when the graph is finished. There was a bug with executing the .END target which came in when doing conversion to LST_FOREACH() which caused make to dump core. PR: bin/83698 Submitted by: Max Okumoto <okumoto@ucsd.edu> MFC after: 3 days
This commit is contained in:
parent
985d6fb29c
commit
bc7ab08ab3
1 changed files with 1 additions and 1 deletions
|
|
@ -3367,7 +3367,7 @@ Compat_Run(Lst *targs)
|
|||
*/
|
||||
if (error_cnt == 0) {
|
||||
LST_FOREACH(ln, &ENDNode->commands) {
|
||||
if (Compat_RunCommand(Lst_Datum(ln), gn))
|
||||
if (Compat_RunCommand(Lst_Datum(ln), ENDNode))
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue