Skip to content

Commit ffd5c29

Browse files
committed
oop
1 parent eaea656 commit ffd5c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/trace/child.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ pub unsafe fn init_sv() -> Result<(), SvInitError> {
223223
// Make sure we never get orphaned and stuck in SIGSTOP or similar
224224
// SAFETY: prctl PR_SET_PDEATHSIG is always safe to call
225225
let ret = libc::prctl(libc::PR_SET_PDEATHSIG, libc::SIGTERM);
226-
assert_ne!(ret, 0);
226+
assert_eq!(ret, 0);
227227
// First make sure the parent succeeded with ptracing us!
228228
signal::raise(signal::SIGSTOP).unwrap();
229229
// If we're the child process, save the supervisor info

0 commit comments

Comments
 (0)