Skip to content

Commit 307154e

Browse files
committed
status doesn't support attach
1 parent fbf98eb commit 307154e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

beef.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,8 @@ def parse_args(
440440
run_config = RunConfig.read(
441441
RunConfig.from_argparse(args).state_file
442442
)
443-
run_config.attach = args.attach
443+
with contextlib.suppress(AttributeError):
444+
run_config.attach = args.attach
444445
elif action is ls:
445446
args.vm = ''
446447
run_config = RunConfig.from_argparse(args)

0 commit comments

Comments
 (0)