Skip to content

Commit 99a3592

Browse files
committed
skip Unrecognized command
1 parent 7e0655a commit 99a3592

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dell-switch.pl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ sub save_log {
116116
last;
117117
}
118118
} elsif ( $buff =~ m/% Unrecognized command/ ) {
119-
exit 1;
119+
#exit 1;
120+
warn "SKIP $command\n";
121+
$buff = '';
122+
120123
} elsif ( $buff =~ m/% Invalid input detected at .* marker/ ) {
121124

122125
# try to rewrite command differences

0 commit comments

Comments
 (0)