HBSD: fix logical error in ptrace hardening

github-issue: #71
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>