diff --git a/fish-rust/src/builtins/disown.rs b/fish-rust/src/builtins/disown.rs index 93c6d25b1..58502e5e4 100644 --- a/fish-rust/src/builtins/disown.rs +++ b/fish-rust/src/builtins/disown.rs @@ -107,7 +107,7 @@ pub fn disown(parser: &Parser, streams: &mut IoStreams, args: &mut [&wstr]) -> O } else { streams .err - .append(wgettext_fmt!("%ls: Could not find job '%d'\n")); + .append(wgettext_fmt!("%ls: Could not find job '%d'\n", cmd, pid)); } } } diff --git a/tests/checks/jobs.fish b/tests/checks/jobs.fish index f8836016f..7f85f0861 100644 --- a/tests/checks/jobs.fish +++ b/tests/checks/jobs.fish @@ -130,3 +130,6 @@ function thud --on-job-exit $truepid echo "thud called" end # CHECK: thud called + +disown 252 +# CHECKERR: disown: Could not find job '252'