fixes error message when launching terminal in another one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16474 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c03dcec18a
commit
883a07f811
@ -175,7 +175,9 @@ spawn_shell(int row, int col, const char *command, const char *coding)
|
||||
sprintf(tty_name, "/dev/tt/%s", dirEntry->d_name);
|
||||
break;
|
||||
} else {
|
||||
fprintf(stderr, "could not open %s: %s\n", ptyName, strerror(errno));
|
||||
// B_BUSY is a normal case
|
||||
if (master != B_BUSY)
|
||||
fprintf(stderr, "could not open %s: %s\n", ptyName, strerror(errno));
|
||||
}
|
||||
}
|
||||
closedir(dir);
|
||||
|
Loading…
Reference in New Issue
Block a user