Improve pause-container warning message

Signed-off-by: Vinothkumar Siddharth <sidvin@amazon.com>
This commit is contained in:
Vinothkumar Siddharth 2017-03-23 10:17:42 -07:00
parent 68a858f7da
commit ec45a47f93

View File

@ -34,7 +34,7 @@ static void sigreap(int signo) {
int main() {
if (getpid() != 1)
/* Not an error because pause sees use outside of infra containers. */
fprintf(stderr, "Warning: pause should be the first process in a pod\n");
fprintf(stderr, "Warning: pause should be the first process\n");
if (sigaction(SIGINT, &(struct sigaction){.sa_handler = sigdown}, NULL) < 0)
return 1;