summaryrefslogtreecommitdiff
path: root/backend/hp-handle.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:25:39 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:25:39 +0200
commit1edb02101a9306fc711cd422ed507d18165b1691 (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/hp-handle.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
move from support/1.0.27 to feature/1.0.27
Diffstat (limited to 'backend/hp-handle.c')
-rw-r--r--backend/hp-handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/hp-handle.c b/backend/hp-handle.c
index d9be2d5..ec8adbc 100644
--- a/backend/hp-handle.c
+++ b/backend/hp-handle.c
@@ -192,7 +192,7 @@ hp_handle_startReader (HpHandle this, HpScsi scsi)
this->pipe_write_fd = -1;
}
- if (this->reader_pid == -1) /* Creating child failed ? Clean up pipe */
+ if (!sanei_thread_is_valid (this->reader_pid))
{
if ( !this->child_forked )
{