phhusson / Superuser

Keeping koush's Superuser fresh
GNU General Public License v3.0
424 stars 50 forks source link

--context parameter not working #7

Closed lbdroid closed 8 years ago

lbdroid commented 8 years ago

From here; https://github.com/phhusson/Superuser/commit/cea0c576a3bfbd4bb8fa66675998a938dd0d7475

Missing change required here also: https://github.com/phhusson/Superuser/blob/master/Superuser/jni/su/su.c#L678

Should add "z:" to optstring.

phhusson commented 8 years ago

Oops, bad git add -p I guess. Thanks.

phhusson commented 8 years ago

Ok, seeing the code, it's likely I haven't tested it. It's also missing a break;...

lbdroid commented 8 years ago

Yep, that's probably why it still bailed for me when I added the z:

lbdroid commented 8 years ago

Works now