]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: sftp: Don't attempt to complete arguments for
authordjm@openbsd.org <djm@openbsd.org>
Fri, 16 Sep 2022 03:13:34 +0000 (03:13 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 16 Sep 2022 03:35:21 +0000 (13:35 +1000)
commit590db83384f9d99fc51c84505792d26d1ef60df9
tree7f0a4b8383958d5739fc19713d074c24782437e4
parentff9809fdfd1d9a91067bb14a77d176002edb153c
upstream: sftp: Don't attempt to complete arguments for

non-existent commands

If user entered a non-existent command (e.g. because they made a
typo) there is no point in trying to complete its arguments. Skip
calling complete_match() if that's the case.

From Michal Privoznik

OpenBSD-Commit-ID: cf39c811a68cde2aeb98fc85addea4000ef6b07a
sftp.c