diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/policy/gp_filesys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/policy/gp_filesys.c b/source4/lib/policy/gp_filesys.c index 00d04d5367..6e0cbedf59 100644 --- a/source4/lib/policy/gp_filesys.c +++ b/source4/lib/policy/gp_filesys.c @@ -417,7 +417,7 @@ static NTSTATUS push_recursive (struct gp_context *gp_ctx, const char *local_pat remote_path, dirent->d_name); NT_STATUS_HAVE_NO_MEMORY(entry_remote_path); - if (stat(dirent->d_name, &s) != 0) { + if (stat(entry_local_path, &s) != 0) { return NT_STATUS_UNSUCCESSFUL; } if (s.st_mode & S_IFDIR) { |