mirror of
https://github.com/sheumann/hush.git
synced 2025-01-04 22:34:37 +00:00
Bug 112, return value of awk should be /256. In reality, we should probably
be using WEXITSTATUS(), but until I can figure out why the heck that would want to do (*(int *) &(status)) on the value, I'm happy just fixing the bug we actually see.
This commit is contained in:
parent
fb8c4983a6
commit
5184336647
@ -2370,7 +2370,7 @@ re_cont:
|
|||||||
|
|
||||||
case F_sy:
|
case F_sy:
|
||||||
fflush(NULL);
|
fflush(NULL);
|
||||||
R.d = (L.s && *L.s) ? system(L.s) : 0;
|
R.d = (L.s && *L.s) ? (system(L.s) >> 8) : 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case F_ff:
|
case F_ff:
|
||||||
|
Loading…
Reference in New Issue
Block a user