mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Merge pull request #533 from bongbui321/exit_with_error
exit with error
This commit is contained in:
commit
2ed24c090f
1 changed files with 4 additions and 1 deletions
5
edl
5
edl
|
@ -379,7 +379,10 @@ class main(metaclass=LogBase):
|
||||||
if cmd != "":
|
if cmd != "":
|
||||||
self.info("Trying to connect to firehose loader ...")
|
self.info("Trying to connect to firehose loader ...")
|
||||||
if fh.connect(sahara):
|
if fh.connect(sahara):
|
||||||
fh.handle_firehose(cmd, options)
|
if not fh.handle_firehose(cmd, options):
|
||||||
|
sys.exit(1)
|
||||||
|
else:
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue