Skip to content

Commit cac8513

Browse files
committed
Fix lrestart parsing (#294)
1 parent 23a94d5 commit cac8513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Kathara/cli/command/LrestartCommand.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ def run(self, current_path: str, argv: List[str]) -> None:
131131

132132
lclean_argv = ['-d', args['directory']] if args['directory'] else []
133133

134-
if args['excluded_machines']:
135-
lclean_argv.extend(['--exclude'] + args['excluded_machines'])
136134
if args['machine_name']:
137135
lclean_argv.extend(args['machine_name'])
136+
if args['excluded_machines']:
137+
lclean_argv.extend(['--exclude'] + args['excluded_machines'])
138138

139139
LcleanCommand().run(current_path, lclean_argv)
140140
LstartCommand().run(current_path, argv)

0 commit comments

Comments
 (0)