Skip to content

Commit

Permalink
Don't use "am --user" unless multiuser mode is enabled (bug #204)
Browse files Browse the repository at this point in the history
  • Loading branch information
cernekee authored and koush committed Nov 24, 2013
1 parent 2766f60 commit 2dd3528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Superuser/jni/su/activity.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ int send_result(struct su_context *ctx, policy_t policy) {
"--es",
"action",
policy == ALLOW ? "allow" : "deny",
"--user",
user[0] ? "--user" : NULL,
user,
NULL
};
Expand Down Expand Up @@ -199,7 +199,7 @@ int send_request(struct su_context *ctx) {
"--es",
"socket",
ctx->sock_path,
"--user",
user[0] ? "--user" : NULL,
user,
NULL
};
Expand Down

0 comments on commit 2dd3528

Please sign in to comment.