#2486 cli: propagate system exit codes
Merged 3 years ago by tkopecek. Opened 3 years ago by tkopecek.
tkopecek/koji issue2273  into  master

file modified
+3 -1
@@ -337,8 +337,10 @@ 

          rv = locals()[command].__call__(options, session, args)

          if not rv:

              rv = 0

-     except (KeyboardInterrupt, SystemExit):

+     except KeyboardInterrupt:

          rv = 1

+     except SystemExit:

+         raise

      except Exception:

          if options.debug:

              raise

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

3 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

3 years ago

Commit ae2261b fixes this pull-request

Pull-Request has been merged by tkopecek

3 years ago