Check if the index is in use and fail before creating the child process,
commit1270f8fed8642ac61d14be6a3aeb8d002db82a78
authorNicholas Marriott <nicm@openbsd.org>
Tue, 25 Jan 2011 22:31:50 +0000 (25 22:31 +0000)
committerNicholas Marriott <nicm@openbsd.org>
Tue, 25 Jan 2011 22:31:50 +0000 (25 22:31 +0000)
tree737023d730f81a567c7666077b03b57f07401310
parent1df33554382a09aaca4879e4857f42b91ca3bbc6
Check if the index is in use and fail before creating the child process,
rather than leaving a stray child on failure.
session.c
tmux.h
window.c