We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaea656 commit ffd5c29Copy full SHA for ffd5c29
src/shims/trace/child.rs
@@ -223,7 +223,7 @@ pub unsafe fn init_sv() -> Result<(), SvInitError> {
223
// Make sure we never get orphaned and stuck in SIGSTOP or similar
224
// SAFETY: prctl PR_SET_PDEATHSIG is always safe to call
225
let ret = libc::prctl(libc::PR_SET_PDEATHSIG, libc::SIGTERM);
226
- assert_ne!(ret, 0);
+ assert_eq!(ret, 0);
227
// First make sure the parent succeeded with ptracing us!
228
signal::raise(signal::SIGSTOP).unwrap();
229
// If we're the child process, save the supervisor info
0 commit comments