Skip to content

Commit 6621440

Browse files
committed
minor: fix typo and low level fault
1 parent 8731d59 commit 6621440

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/app/src/main/java/seven/drawalive/nodebase/NodeService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public int onStartCommand(Intent intent, int flags, int startId) {
9595
restartNodeApp(first /* name */);
9696
break;
9797
case "stop":
98-
if (first == "!") {
98+
if ("!".compareTo(first) == 0) {
9999
stopNodeApps();
100100
} else {
101101
stopNodeApp(first /* name */);

modules/app_manager/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ const router = {
256256
}
257257
};
258258

259-
init();
260-
261259
const server = http.createServer((req, res) => {
262260
route(req, res);
263261
});

0 commit comments

Comments
 (0)