Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Fix NPE in quit command (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloyan-raev authored Jan 31, 2018
1 parent 911b303 commit 786f3e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>io.goobox</groupId>
<artifactId>goobox-sync-storj</artifactId>
<version>0.0.17</version>
<version>0.0.18</version>
<packaging>jar</packaging>

<name>Goobox sync app for Storj</name>
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/io/goobox/sync/storj/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,11 @@ private void init(boolean resetAuthFile) {
@Override
public void shutdown() {
logger.info("Shutting down");
overlayHelper.shutdown();

if (overlayHelper != null) {
overlayHelper.shutdown();
}

System.exit(0);
}

Expand Down

0 comments on commit 786f3e7

Please sign in to comment.