diff options
-rw-r--r-- | meta/classes-global/insane.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index ee34d5208d..e3a7d05ec3 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass | |||
@@ -94,9 +94,8 @@ def package_qa_check_shebang_size(path, name, d, elf, messages): | |||
94 | return | 94 | return |
95 | 95 | ||
96 | if stanza.startswith(b'#!'): | 96 | if stanza.startswith(b'#!'): |
97 | #Shebang not found | ||
98 | try: | 97 | try: |
99 | stanza = stanza.decode("utf-8") | 98 | stanza.decode("utf-8") |
100 | except UnicodeDecodeError: | 99 | except UnicodeDecodeError: |
101 | #If it is not a text file, it is not a script | 100 | #If it is not a text file, it is not a script |
102 | return | 101 | return |