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:
@@ -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);
|
sprintf(tty_name, "/dev/tt/%s", dirEntry->d_name);
|
||||||
break;
|
break;
|
||||||
} else {
|
} 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);
|
closedir(dir);
|
||||||
|
|||||||
Reference in New Issue
Block a user