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:29:05 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
commit324a8a71bb7d9e4f8bc49b6bc47efaf9fb58282e (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/hp-handle.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
parent1edb02101a9306fc711cd422ed507d18165b1691 (diff)
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
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 )
{