diff options
Diffstat (limited to 'src/ukify')
-rwxr-xr-x | src/ukify/ukify.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index 355e3f99f4..6197a8f7f4 100755 --- a/src/ukify/ukify.py +++ b/src/ukify/ukify.py @@ -995,8 +995,7 @@ def make_uki(opts: UkifyConfig) -> None: sign_kernel = opts.sign_kernel linux = opts.linux - if sign_args_present: - assert opts.linux is not None + if opts.linux and sign_args_present: assert opts.signtool is not None if not sign_kernel: |