Skip to content

Commit

Permalink
fix: don't complain about exit code 0
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Dec 30, 2021
1 parent 161bb98 commit a2b927b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/useAppListeners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const useAppListeners = () => {
};

const handleDolphinExitCode = (exitCode: number | null) => {
if (exitCode === null) {
if (exitCode === null || exitCode === 0) {
return null;
}

Expand Down

0 comments on commit a2b927b

Please sign in to comment.