Skip to content

Commit

Permalink
boot-qemu.py: Add quotes around file in error
Browse files Browse the repository at this point in the history
To make it clear this is the file utility, not an actual file.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Apr 6, 2023
1 parent 0008bf4 commit 4e6963d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot-qemu.py
Expand Up @@ -684,7 +684,7 @@ def guess_arch(kernel_arg):

if not (file := shutil.which('file')):
raise RuntimeError(
'Architecture was not provided and file is not installed!')
"Architecture was not provided and 'file' is not installed!")

# Get output of file
file_out = subprocess.run([file, vmlinux],
Expand Down

0 comments on commit 4e6963d

Please sign in to comment.