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

Commit 63749649 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Steve Kondik
Browse files

Fix building without SELINUX

since the scon is now a mandatory arg, it needs to exist even if
NULL

Change-Id: I8ba31a7a8cf357e9b0c43cee81ab49d3eb192819
parent cc81fdf0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -168,6 +168,7 @@ void service_start(struct service *svc, const char *dynamic_args)
    int needs_console;
    int n;
    char *scon = NULL;
#ifdef HAVE_SELINUX
    int rc;

        /* starting a service removes it from the disabled or reset