mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 00:47:30 +00:00
disown: Fix a format string
Missed in 77aeb6a2a8
, this would crash otherwise.
This commit is contained in:
parent
9b54e243b1
commit
13ba5bd405
2 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue