Code cleanup

This commit is contained in:
Pierre Pronchery 2004-11-17 19:14:44 +00:00
parent ee455a13f7
commit 870ed81cc6

View File

@ -112,7 +112,7 @@ static int _chown_do_recursive(int opts, uid_t uid, gid_t gid, char * file)
{
struct stat st;
if((lstat(file, &st)) != 0)
if(lstat(file, &st) != 0)
return _chown_error(file, 1);
if(!S_ISDIR(st.st_mode))
return _chown_do(opts, uid, gid, file);