Commit 1f4c595c authored by topjohnwu's avatar topjohnwu

Revert to old `su -c` behavior

parent b5b62e03
......@@ -27,6 +27,6 @@ android.injected.testOnly=false
kapt.incremental.apt=true
# Magisk
magisk.versionCode=21302
magisk.versionCode=21303
magisk.ndkVersion=21d
magisk.fullNdkVersion=21.3.6528147
......@@ -105,9 +105,7 @@ int su_client_main(int argc, char *argv[]) {
for (int i = optind - 1; i < argc; ++i) {
if (!su_req.command.empty())
su_req.command += ' ';
su_req.command += '\'';
su_req.command += argv[i];
su_req.command += '\'';
}
optind = argc;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment