Skip to content

Commit d7341c6

Browse files
committed
Merge pull request #3 from joeykrim/patch-2
Minor typos
2 parents a3b1261 + 9b29fb0 commit d7341c6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/com/stericson/RootShell/execution/Shell.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static enum ShellType {
5353
//this is only used with root shells
5454
public static enum ShellContext {
5555
NORMAL("normal"), //The normal context...
56-
SHELL("u:r:shell:s0"), //Unprivileged shell (such as an adb shell)
56+
SHELL("u:r:shell:s0"), //unprivileged shell (such as an adb shell)
5757
SYSTEM_SERVER("u:r:system_server:s0"), // system_server, u:r:system:s0 on some firmwares
5858
SYSTEM_APP("u:r:system_app:s0"), // System apps
5959
PLATFORM_APP("u:r:platform_app:s0"), // System apps
@@ -187,7 +187,7 @@ private Shell(String cmd, ShellType shellType, ShellContext shellContext, int sh
187187
worker.join(this.shellTimeout);
188188

189189
/**
190-
* The operation could not be completed before the timeout occured.
190+
* The operation could not be completed before the timeout occurred.
191191
*/
192192
if (worker.exit == -911) {
193193

@@ -651,7 +651,7 @@ public void run() {
651651
isReading = true;
652652

653653
/**
654-
* If we recieve EOF then the shell closed?
654+
* If we receive EOF then the shell closed?
655655
*/
656656
if (outputLine == null) {
657657
break;
@@ -983,7 +983,7 @@ public void run() {
983983
break;
984984
}
985985

986-
shell.error = "unkown error occured.";
986+
shell.error = "unknown error occurred.";
987987
}
988988
} catch (IOException e) {
989989
exit = -42;

0 commit comments

Comments
 (0)