Skip to content

Commit

Permalink
Prevent NullPointerException when using command line
Browse files Browse the repository at this point in the history
Closes qzind#692
  • Loading branch information
tresf committed Jul 17, 2020
1 parent 5217ef3 commit 7803242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qz/ws/PrintSocketServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static int getInsecurePortInUse() {
}

public static Properties getTrayProperties() {
return certificateManager.getProperties();
return certificateManager == null ? null : certificateManager.getProperties();
}

}

0 comments on commit 7803242

Please sign in to comment.