Skip to content

Commit 4de00d2

Browse files
committed
Auto merge of #8615 - davepacheco:sigquit-typo, r=ehuss
Fix typo in SIGQUIT description This PR fixes a small typo in the SIGQUIT description. (edit: removed my notes about automated tests because the PR bot has a more complete summary.) In terms of manual testing: I had a test that raised `SIGQUIT` using the "coredump" crate. Previously, it emitted: ``` error: test failed, to rerun pass '--test the_test' Caused by: process didn't exit successfully: `/Users/dap/oxide/experiments/rust-coredump/target/debug/deps/the_test-a8a068307be90649 --nocapture` (signal: 3, SIGQUIT: terminal quite signal) ``` Now, it emits: ``` error: test failed, to rerun pass '--test the_test' Caused by: process didn't exit successfully: `/Users/dap/oxide/experiments/rust-coredump/target/debug/deps/the_test-20c8e90133861ece --nocapture` (signal: 3, SIGQUIT: terminal quit signal) ``` which looks correct.
2 parents ab32ee8 + ea0709e commit 4de00d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ pub fn process_error(
401401
libc::SIGINT => ", SIGINT: terminal interrupt signal",
402402
libc::SIGKILL => ", SIGKILL: kill",
403403
libc::SIGPIPE => ", SIGPIPE: write on a pipe with no one to read",
404-
libc::SIGQUIT => ", SIGQUIT: terminal quite signal",
404+
libc::SIGQUIT => ", SIGQUIT: terminal quit signal",
405405
libc::SIGSEGV => ", SIGSEGV: invalid memory reference",
406406
libc::SIGTERM => ", SIGTERM: termination signal",
407407
libc::SIGBUS => ", SIGBUS: access to undefined memory",

0 commit comments

Comments
 (0)