Fix some tcsetpgrp error typos

fix-tcsetpgrp-typos
Thomas Orozco 8 years ago
parent d6938f1a63
commit e38caaf9dd
  1. 4
      src/tini.c

@ -115,10 +115,10 @@ int isolate_child() {
// in the background!)
if (tcsetpgrp(STDIN_FILENO, getpgrp())) {
if (errno == ENOTTY) {
PRINT_DEBUG("tcsetpgrp failed: no tty (ok to proceed)")
PRINT_DEBUG("tcsetpgrp failed: no tty (ok to proceed)");
} else if (errno == ENXIO) {
// can occur on lx-branded zones
PRINT_DEBUG("tcsetpgrp failed: no such device (ok to proceed");
PRINT_DEBUG("tcsetpgrp failed: no such device (ok to proceed)");
} else {
PRINT_FATAL("tcsetpgrp failed: %s", strerror(errno));
return 1;

Loading…
Cancel
Save