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

Commit d07c0915 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix quoting of paths in auth code." am: b371af9e am: f898aade am:...

Merge "Fix quoting of paths in auth code." am: b371af9e am: f898aade am: 3cffdba0 am: 23ea5069

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1363936

Change-Id: I4d0cc2a54d1d6ec21818c9435c78fc0b462e5fac
parents 413dd3fd 23ea5069
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -400,12 +400,12 @@ static void adb_auth_inotify_init(const std::set<std::string>& paths) {
    for (const std::string& path : paths) {
        int wd = inotify_add_watch(infd, path.c_str(), IN_CREATE | IN_MOVED_TO);
        if (wd < 0) {
            PLOG(ERROR) << "failed to inotify_add_watch on path '" << path;
            PLOG(ERROR) << "failed to inotify_add_watch on path '" << path << "'";
            continue;
        }

        g_monitored_paths[wd] = path;
        LOG(INFO) << "watch descriptor " << wd << " registered for " << path;
        LOG(INFO) << "watch descriptor " << wd << " registered for '" << path << "'";
    }

    fdevent* event = fdevent_create(infd, adb_auth_inotify_update, nullptr);