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

Commit ed3ce513 authored by Kenny Root's avatar Kenny Root
Browse files

Fix bad merge

Change-Id: I9f05f96e3607b994368a8d4e1e454af8fe84424d
parent ad0090e7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -71,8 +71,8 @@ int install(const char *pkgname, uid_t uid, gid_t gid)
        return -1;
    }

    if (selinux_android_setfilecon(libdir, pkgname, uid) < 0) {
        ALOGE("cannot setfilecon dir '%s': %s\n", libdir, strerror(errno));
    if (selinux_android_setfilecon(libsymlink, pkgname, uid) < 0) {
        ALOGE("cannot setfilecon dir '%s': %s\n", libsymlink, strerror(errno));
        unlink(libsymlink);
        unlink(pkgdir);
        return -1;