Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ac50107 authored by The Android Open Source Project's avatar The Android Open Source Project
Browse files

merge from open-source master

Change-Id: I7f30144c12c340501f161fba70a917eb62afc41f
parents db2f5ad4 457d81ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -959,7 +959,7 @@ int do_sync_pull(const char *rpath, const char *lpath)
        return 1;
    }

    if(S_ISREG(mode) || S_ISCHR(mode) || S_ISBLK(mode)) {
    if(S_ISREG(mode) || S_ISLNK(mode) || S_ISCHR(mode) || S_ISBLK(mode)) {
        if(stat(lpath, &st) == 0) {
            if(S_ISDIR(st.st_mode)) {
                    /* if we're copying a remote file to a local directory,