Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

munet: fix bug in cli.py #45

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions munet/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,7 @@ def host_cmd_split(unet, line, toplevel):
if not csplit:
return hosts, "", "", True

i = line.index(csplit[0])
i += len(csplit[0])
return hosts, csplit[0], line[i:].strip(), banner
return hosts, csplit[0], ' '.join(csplit[1:]), banner


def win_cmd_host_split(unet, cmd, kinds, defall):
Expand Down
Loading