diff --git a/boot-qemu.py b/boot-qemu.py index 28b717b..60377c8 100755 --- a/boot-qemu.py +++ b/boot-qemu.py @@ -283,7 +283,7 @@ def run(self): ] # yapf: disable # Kernel options - if self.interactive or args.gdb: + if self.interactive or self.gdb: self.cmdline.append('rdinit=/bin/sh') if self.gdb: self.cmdline.append('nokaslr')