summaryrefslogtreecommitdiff
path: root/backend/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/serial.c')
-rw-r--r--backend/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/serial.c b/backend/serial.c
index 4eb3700ff..7a0c36c61 100644
--- a/backend/serial.c
+++ b/backend/serial.c
@@ -503,7 +503,7 @@ main(int argc, /* I - Number of command-line arguments (6 or 7) */
* stdin (otherwise you can't cancel raw jobs...)
*/
- if (print_fd != 0)
+ if (!print_fd)
{
#ifdef HAVE_SIGSET /* Use System V signals over POSIX to avoid bugs */
sigset(SIGTERM, SIG_IGN);