Skip to content

Commit

Permalink
Avoid stack trace in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Apr 27, 2017
1 parent d463ec2 commit c446ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/etc/gosh_profile
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ if { $.terminal } {
complete -c remote:telnetd -a '[start stop status]'

} {
if { not { (($exception cause) toString) equals "java.lang.NoClassDefFoundError: org/apache/sshd/common/Factory" } } {
if { not { (($exception cause) toString) startsWith "java.lang.NoClassDefFoundError: org/apache/sshd/" } } {
$exception printStackTrace
}
}
Expand Down

0 comments on commit c446ccc

Please sign in to comment.