summaryrefslogtreecommitdiff
path: root/backend/hp-handle.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
commit58912f68c2489bcee787599837447e0d64dfd61a (patch)
treedda50aadde35fe152da1a8d50769987ace0f1496 /backend/hp-handle.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/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 )
{