cap_fileargs: fix test after r346318
Reported by: danfe, mjg MFC after: 3 weeks MFC with: r346315 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
246e18b224
commit
151744cf5c
@ -579,7 +579,7 @@ fileargs_command_lstat(const nvlist_t *limits, nvlist_t *nvlin,
|
||||
name = nvlist_get_string(nvlin, "name");
|
||||
|
||||
error = lstat(name, &sb);
|
||||
if (stat < 0)
|
||||
if (error < 0)
|
||||
return (errno);
|
||||
|
||||
if (!allcached && (lastname == NULL ||
|
||||
|
Loading…
Reference in New Issue
Block a user