Commit 58af2f95 authored by Paul Green's avatar Paul Green

Fix typo in handling of lchown when the host operating system does

not implement it.  It should get mapped to chown.
parent a8fd4161
......@@ -72,7 +72,7 @@ int do_lchown(const char *path, uid_t owner, gid_t group)
{
if (dry_run) return 0;
RETURN_ERROR_IF_RO_OR_LO;
#ifdef HAVE_LCHOWN
#ifndef HAVE_LCHOWN
#define lchown chown
#endif
return lchown(path, owner, group);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment