mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
disown: Fix a format string
Missed in 77aeb6a2a8, this would crash otherwise.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user