project: Minor cleanups

Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
Samuel Holland committed 2018-01-06 22:14:10 -06:00
1 parent 22bdffcecd
commit 4d38993832
4 files changed
+4 -6

No files matched your search

@@ -86,7 +86,7 @@ public final class WgQuickBackend implements Backend {
final String stateName = resolveState(currentState, state).name().toLowerCase();
final File file = new File(context.getFilesDir(), tunnel.getName() + ".conf");
final String path = file.getAbsolutePath();
// FIXME: Assumes file layout from FIleConfigStore. Use a temporary file.
// FIXME: Assumes file layout from FileConfigStore. Use a temporary file.
if (rootShell.run(null, String.format("wg-quick %s '%s'", stateName, path)) != 0)
throw new IOException("wg-quick failed");
return tunnel;