mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
printf: Fix \c in %b in printf builtin exiting the shell after r337458
SVN r337458 erroneously partially reverted r265885. This is immediately visible when running the Kyua/ATF tests for usr.bin/printf, which actually test sh's printf builtin. PR: 229641
This commit is contained in:
parent
1284f5f4a1
commit
051c7fdd5c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337618
|
@ -388,7 +388,7 @@ printf_doformat(char *fmt, int *rval)
|
|||
|
||||
free(p);
|
||||
if (getout)
|
||||
exit(*rval);
|
||||
return (end_fmt);
|
||||
break;
|
||||
}
|
||||
case 'c': {
|
||||
|
|
Loading…
Reference in a new issue