mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
disown: Fix a format string
Missed in 77aeb6a2a8
, 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…
Reference in New Issue
Block a user