From e09543e8fd03fca5ddae5ace824c3862759c91d7 Mon Sep 17 00:00:00 2001 From: John Moon Date: Fri, 30 Aug 2019 09:54:30 -0700 Subject: [PATCH] Fixing bug where @ symbol in command was not parsed correctly --- serio | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serio b/serio index f726a5a..e4364f3 100755 --- a/serio +++ b/serio @@ -952,7 +952,7 @@ def main(): exit(EX_USAGE) host_end = tmp_cmd_str.find(' ') - if '@' in tmp_cmd_str: + if '@' in tmp_cmd_str[0:host_end]: # strip off leading [user@] host_start = tmp_cmd_str.find('@') + 1 else: