This repository was archived by the owner on Feb 8, 2021. It is now read-only.
Commit 96eba45
committed
check the result of killing a container
the kill(2) may have some failure condition:
```
RETURN VALUE
On success (at least one signal was sent), zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS
EINVAL An invalid signal was specified.
EPERM The process does not have permission to send the signal to any of the target processes.
ESRCH The process or process group does not exist. Note that an existing process might be a zombie, a process that has terminated execution, but has not yet been wait(2)ed for.
```
Signed-off-by: Wang Xu <[email protected]>1 parent b6197ed commit 96eba45
1 file changed
+32
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
| 648 | + | |
647 | 649 | | |
648 | 650 | | |
649 | 651 | | |
| |||
654 | 656 | | |
655 | 657 | | |
656 | 658 | | |
| 659 | + | |
657 | 660 | | |
658 | 661 | | |
659 | 662 | | |
660 | | - | |
661 | | - | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
662 | 680 | | |
663 | 681 | | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
664 | 689 | | |
665 | 690 | | |
666 | 691 | | |
| |||
1209 | 1234 | | |
1210 | 1235 | | |
1211 | 1236 | | |
1212 | | - | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1213 | 1241 | | |
1214 | 1242 | | |
1215 | 1243 | | |
| |||
0 commit comments