Fragment/Tile: Make success/error messages translatable
Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
1 parent
6361628e16
commit
710ffc7bb3
8 files changed
+102
-74
No files matched your search
@@ -55,7 +55,7 @@ public final class WgQuickBackend implements Backend {
|
||||
try {
|
||||
if (rootShell.run(output, "wg show interfaces") != 0 || output.isEmpty())
|
||||
return Collections.emptySet();
|
||||
} catch (Exception e) {
|
||||
} catch (final Exception ignored) {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
// wg puts all interface names on the same line. Split them into separate elements.
|
||||
|
||||
Reference in new issue
Block a user