diff options
-rw-r--r-- | src/vox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ static int vox_stop(xas_vox *vox, ...) { vox->in = NULL; } - if (vox->pid) { + if (vox->pid > 0) { int status; if (waitpid(vox->pid, &status, 0) < 0) { |