diff options
author | cyBerta <cyberta@riseup.net> | 2022-06-08 21:11:48 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-06-08 21:11:48 +0200 |
commit | d2a2bc2da305324c8be00cd683546896b00145d1 (patch) | |
tree | a122d198f9e3aaf5dcae85ab35be221d4d63cd32 /app/src/main | |
parent | 5cae0f2da73b837baba21c65f0927a4daa13e536 (diff) |
openvpn config file inline warning should be a comment
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/de/blinkt/openvpn/VpnProfile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/blinkt/openvpn/VpnProfile.java b/app/src/main/java/de/blinkt/openvpn/VpnProfile.java index f2da0838..c010ef54 100644 --- a/app/src/main/java/de/blinkt/openvpn/VpnProfile.java +++ b/app/src/main/java/de/blinkt/openvpn/VpnProfile.java @@ -229,7 +229,7 @@ public class VpnProfile implements Serializable, Cloneable { //! Put inline data inline and other data as normal escaped filename public static String insertFileData(String cfgentry, String filedata) { if (filedata == null) { - return String.format("%s %s\n", cfgentry, "file missing in config profile"); + return String.format("# %s %s\n", cfgentry, "file missing in config profile"); } else if (isEmbedded(filedata)) { String dataWithOutHeader = getEmbeddedContent(filedata); return String.format(Locale.ENGLISH, "<%s>\n%s\n</%s>\n", cfgentry, dataWithOutHeader, cfgentry); |