mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 04:39:39 +08:00
disown: Fix a format string
Missed in 77aeb6a2a88af77077cc1c42b8a11c6b2a59d744, this would crash otherwise.
This commit is contained in:
parent
9b54e243b1
commit
13ba5bd405
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user