slave: remove initial debug code

This commit is contained in:
Daniel Eklöf 2019-06-29 20:49:35 +02:00
parent ed867a78bb
commit 34fb86724f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

16
slave.c
View file

@ -54,22 +54,6 @@ slave_spawn(int ptmx)
execl("/usr/bin/zsh", "/usr/bin/zsh", NULL);
#if 0
/* TODO: exec() */
sleep(1);
const char *s = "hello\tbla\nfoobar\thaa";
write(STDOUT_FILENO, s, strlen(s));
sleep(1);
write(STDOUT_FILENO, "yeehaa", 6);
sleep(1);
write(STDOUT_FILENO, "\råäö", strlen("\råäö"));
sleep(1000);
#endif
err:
if (pts != -1)
close(pts);