Skip to content

Commit

Permalink
Merge pull request #4172 from natali-rs1985/T6808-current
Browse files Browse the repository at this point in the history
op_mode: T6808: Console server op mode commands throw errors when console server is not configured
  • Loading branch information
jestabro authored Oct 28, 2024
2 parents 5679d68 + 59c0c0b commit ba18d12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions op-mode-definitions/show-console-server.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
<properties>
<help>Examine console ports and configured baud rates</help>
</properties>
<command>/usr/bin/console -x</command>
<command>if cli-shell-api existsActive service console-server; then /usr/bin/console -x; else echo "Console server is not configured"; fi</command>
</leafNode>
<leafNode name="user">
<properties>
<help>Show users on various consoles</help>
</properties>
<command>/usr/bin/console -u</command>
<command>if cli-shell-api existsActive service console-server; then /usr/bin/console -u; else echo "Console server is not configured"; fi</command>
</leafNode>
</children>
</node>
Expand Down

0 comments on commit ba18d12

Please sign in to comment.