I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit bd0c696b authored by zzz's avatar zzz
Browse files

CLI: Allow empty blocklist when signing news feed

parent 5c56884d
No related branches found
No related tags found
No related merge requests found
...@@ -207,8 +207,8 @@ public class BlocklistEntries { ...@@ -207,8 +207,8 @@ public class BlocklistEntries {
if (br != null) try { br.close(); } catch (IOException ioe) {} if (br != null) try { br.close(); } catch (IOException ioe) {}
} }
if (elist.isEmpty() && rlist.isEmpty()) { if (elist.isEmpty() && rlist.isEmpty()) {
System.err.println("nothing to sign"); System.err.println("Signing empty blocklist");
System.exit(1); //System.exit(1);
} }
if (elist.size() > MAX_ENTRIES) { if (elist.size() > MAX_ENTRIES) {
System.err.println("too many blocks, max is " + MAX_ENTRIES); System.err.println("too many blocks, max is " + MAX_ENTRIES);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment