mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-19 16:52:16 +00:00
14 lines
328 B
Diff
14 lines
328 B
Diff
https://github.com/termux/termux-packages/issues/16319
|
|
|
|
--- a/jobs.c
|
|
+++ b/jobs.c
|
|
@@ -1391,7 +1391,7 @@
|
|
ru0 = ru1;
|
|
p->status = status;
|
|
#ifndef MKSH_UNEMPLOYED
|
|
- if (WIFSTOPPED(status))
|
|
+ if (WIFSTOPPED(status) && !WIFCONTINUED(status))
|
|
p->state = PSTOPPED;
|
|
else
|
|
#if defined(WCONTINUED) && defined(WIFCONTINUED)
|