artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dafd2a
)
correct error value
author
djm
<djm@openbsd.org>
Fri, 16 Sep 2022 06:55:37 +0000
(06:55 +0000)
committer
djm
<djm@openbsd.org>
Fri, 16 Sep 2022 06:55:37 +0000
(06:55 +0000)
usr.bin/ssh/sftp-server.c
patch
|
blob
|
history
diff --git
a/usr.bin/ssh/sftp-server.c
b/usr.bin/ssh/sftp-server.c
index
22f3e99
..
53a1fe3
100644
(file)
--- a/
usr.bin/ssh/sftp-server.c
+++ b/
usr.bin/ssh/sftp-server.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: sftp-server.c,v 1.14
1 2022/08/12 05:20:28
djm Exp $ */
+/* $OpenBSD: sftp-server.c,v 1.14
2 2022/09/16 06:55:37
djm Exp $ */
/*
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
*
@@
-1668,7
+1668,7
@@
process_extended_home_directory(u_int32_t id)
debug3("request %u: home-directory \"%s\"", id, username);
if ((user_pw = getpwnam(username)) == NULL) {
- send_status(id,
errno_to_portable(errno)
);
+ send_status(id,
SSH2_FX_FAILURE
);
goto out;
}