mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 04:52:44 +08:00
checks/read: Print maximum if we fail to read it
Debugging here is a bit difficult.
This commit is contained in:
parent
87876f19a7
commit
aa7316b6c6
|
@ -244,7 +244,7 @@ if test $status -ne 0
|
|||
echo the read of the max amount of data failed unexpectedly
|
||||
end
|
||||
if test (string length "$x") -ne $fish_read_limit
|
||||
echo reading the max amount of data with --nchars failed the length test: (string length "$x")
|
||||
echo reading the max amount of data with --nchars failed the length test: (string length "$x") / $fish_read_limit
|
||||
end
|
||||
|
||||
# Confirm reading non-interactively works -- \#4206 regression
|
||||
|
|
Loading…
Reference in New Issue
Block a user