diff options
Diffstat (limited to 'usr.bin/make/compat.c')
-rw-r--r-- | usr.bin/make/compat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c index a9e8970..0557789 100644 --- a/usr.bin/make/compat.c +++ b/usr.bin/make/compat.c @@ -615,6 +615,10 @@ Compat_Run(targs) gn = Targ_FindNode(".BEGIN", TARG_NOCREATE); if (gn != NILGNODE) { Lst_ForEach(gn->commands, CompatRunCommand, (ClientData)gn); + if (gn->made == ERROR) { + printf("\n\nStop.\n"); + exit(1); + } } } |