aboutsummaryrefslogtreecommitdiff
path: root/ckandumper
diff options
context:
space:
mode:
Diffstat (limited to 'ckandumper')
-rwxr-xr-xckandumper8
1 files changed, 1 insertions, 7 deletions
diff --git a/ckandumper b/ckandumper
index c5fb589..48967be 100755
--- a/ckandumper
+++ b/ckandumper
@@ -359,12 +359,6 @@ if __name__ == "__main__":
duration = str(datetime.timedelta(seconds=interval))
print(f'Done. Elapsed time: {duration}')
- except FileNotFoundError as e:
- print(e)
- exit(1)
- except KeyboardInterrupt as e:
- print(e)
- exit(1)
- except subprocess.CalledProcessError as e:
+ except (FileNotFoundError, KeyboardInterrupt, subprocess.CalledProcessError) as e:
print(e)
exit(1)