aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/org/pacien/tincapp/commands/Tincd.kt
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/org/pacien/tincapp/commands/Tincd.kt')
-rw-r--r--app/src/main/java/org/pacien/tincapp/commands/Tincd.kt2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/commands/Tincd.kt b/app/src/main/java/org/pacien/tincapp/commands/Tincd.kt
index 19ebfbd..db113cc 100644
--- a/app/src/main/java/org/pacien/tincapp/commands/Tincd.kt
+++ b/app/src/main/java/org/pacien/tincapp/commands/Tincd.kt
@@ -1,14 +1,12 @@
1package org.pacien.tincapp.commands 1package org.pacien.tincapp.commands
2 2
3import org.pacien.tincapp.context.AppPaths 3import org.pacien.tincapp.context.AppPaths
4import java.io.IOException
5 4
6/** 5/**
7 * @author pacien 6 * @author pacien
8 */ 7 */
9object Tincd { 8object Tincd {
10 9
11 @Throws(IOException::class)
12 fun start(netName: String, fd: Int) { 10 fun start(netName: String, fd: Int) {
13 Executor.forkExec(Command(AppPaths.tincd().absolutePath) 11 Executor.forkExec(Command(AppPaths.tincd().absolutePath)
14 .withOption("no-detach") 12 .withOption("no-detach")