[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] gpg.py: exit with status code `3` when failing to exec gpg



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

  • b818ce33
    by Ansgar at 2022-06-30T21:39:47+02:00
    gpg.py: exit with status code `3` when failing to exec gpg
    
    With commit d438328783599a74b903272e7eab4e33cdbb53bc we do no longer
    treat exit code 2 as a fatal error. But failure to run gpg should be a
    fatal error.
    

1 changed file:

Changes:

  • daklib/gpg.py
    ... ... @@ -315,7 +315,7 @@ class SignedFile:
    315 315
                 except:
    
    316 316
                     # Ignore errors, we want to reach the `exit` call below.
    
    317 317
                     pass
    
    318
    -            os._exit(2)
    
    318
    +            os._exit(3)
    
    319 319
     
    
    320 320
         def contents_sha1(self):
    
    321 321
             return apt_pkg.sha1sum(self.contents)
    


  • Reply to: