Revert to old su -c behavior

This commit is contained in:
topjohnwu
2021-01-16 23:59:31 -08:00
parent b5b62e03af
commit 1f4c595cd3
2 changed files with 1 additions and 3 deletions

View File

@@ -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;