Skip to content

Commit 4a6f794

Browse files
committed
fix: use exit code 1 in case of error
1 parent 6f61d2e commit 4a6f794

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ fn main() {
5151
Error::ChecksumMismatch => error!("Descriptor checksum mismatch. Are you using a different descriptor for an already defined wallet name? (if you are not specifying the wallet name it is automatically named based on the descriptor)"),
5252
e => error!("{}", e.to_string()),
5353
}
54-
},
54+
55+
std::process::exit(1);
56+
}
5557
}
5658
}
5759

0 commit comments

Comments
 (0)