diff --git a/Superuser/jni/su/activity.c b/Superuser/jni/su/activity.c index 5e7163f3..c476a474 100644 --- a/Superuser/jni/su/activity.c +++ b/Superuser/jni/su/activity.c @@ -118,7 +118,7 @@ int send_result(struct su_context *ctx, policy_t policy) { "--es", "action", policy == ALLOW ? "allow" : "deny", - "--user", + user[0] ? "--user" : NULL, android_user_id, NULL };